Typing a semicolon creates a new state node instead of being included in the transition text #5410
Labels
Graph: State
Status: Pending
Is not to be executed as it currently is
Type: Bug / Error
Something isn't working or is incorrect
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
The text was updated successfully, but these errors were encountered: