Closed
Description
Description
- Incorrect label mapping for nodes when using
&
example :
flowchart TB
n2["label for n2"] & n4@{ label: "labe for n4"} & n5@{ label: "labe for n5"}
- Syntax error when
}
with trailing spaces before new line
example:
flowchart TB
n2["label for n2"] & n4@{ label: "labe for n4"} & n5@{ label: "labe for n5"}
Steps to reproduce
Run the given samples in mermaid.live:
Labels are incorrectly mapped
Trailing spaces causs syntax errors
Screenshots
No response
Code Sample
Setup
- Mermaid version:
- Browser and Version: [Chrome, Edge, Firefox]
Suggested Solutions
No response
Additional Context
No response