Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mermaid 10 breaks with two spaces in a row #5617

Closed
RichardJECooke opened this issue Jul 2, 2024 · 0 comments · Fixed by #5649
Closed

Mermaid 10 breaks with two spaces in a row #5617

RichardJECooke opened this issue Jul 2, 2024 · 0 comments · Fixed by #5649
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@RichardJECooke
Copy link

Description

In Mermaid 9 this code worked fine when building in Astro:

sequenceDiagram

actor User as User/Browser
participant API1 as api.example.com
participant API2 as contacts.example.com

Note over User, API2: ... Tokens Have Been Stored In Cookies ...
User ->> API1 : Send Access Token As Cookies With Request
API1 ->> API1 : Validate Access Token
API1 -->> User : Send Data or Complete Requested Operation
User ->> API2 : Send Access Token As Cookies With Request
API2 ->> API2 : Validate Access Token
API2 -->> User : Send Data or Complete Requested Operation
User ->> API1 : Send Access Token As Cookies  With Different Request
API1 ->> API1 : Validate Access Token
API1 -->> User : Send Data or Complete Requested Operation

but it breaks in Mermaid 10.9.1 because of the double space

Steps to reproduce

git clone https://github.com/ritza-co/fusionauth-site.git
cd fusionauth-site
git checkout mermaid_10
cd astro
npm install && npm run dev

Screenshots

No response

Code Sample

No response

Setup

  • Mermaid version: 10.9.1

Suggested Solutions

No response

Additional Context

No response

@RichardJECooke RichardJECooke added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant