We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I use mermaid.run or mermaid.parse on a malformed graph definition, the browser freezes or crashes.
mermaid.run
mermaid.parse
This will work:
sequenceDiagram participant Alice participant Bob Alice->>Bob: Hello
This will cause a freeze or crash
sequenceDiagram participant Alice participant Bob Bob->>Alice: Hi Alice Alice->>Bob: Hi Bob
mermaid.parse('sequenceDiagram participant Alice participant Bob Bob->>Alice: Hi Alice Alice->>Bob: Hi Bob').catch(console.error)
https://stackblitz.com/edit/vitejs-vite-27qn1r?file=src%2FApp.tsx
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When I use
mermaid.run
ormermaid.parse
on a malformed graph definition, the browser freezes or crashes.This will work:
This will cause a freeze or crash
Steps to reproduce
Screenshots
Code Sample
https://stackblitz.com/edit/vitejs-vite-27qn1r?file=src%2FApp.tsx
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: