Open anlai46 opened 3 months ago
That is because ;
is considered to be the end of the line along with \n
but ;
is optional, so I am not sure if it is possible to introduce this without breaking changes.
Not sure if this eol is used at all, but you can see that ;
was excluded from some expressions deliberately, check this
Perhaps we should find some workaround
Description
When using the live editor to create a state diagram in Mermaid.js, I encountered an issue where typing a semicolon ";" in the text description of a transition results in the semicolon and everything after it being interpreted as the name of a new state node. This could lead users to accidentally create new state nodes and mess up the original layout of the state diagram.
Steps to reproduce
Screenshots
Expected Behavior:
Actual Behavior:
Code Sample
Setup
Suggested Solutions
Additional Context
No response