hcengineering / hcengineering/platform
[BUG] Browser Hangs When Mermaid Code Is Invalid
Open
- Dominant language
- TypeScript
- Stars
- 27.7k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
I encountered an issue where the browser becomes unresponsive when invalid or unformatted Mermaid code is pasted inline into a diagram block. This results in the document freezing and failing to load properly.
Steps to Reproduce:
- Open or create a new document.
- Insert a Diagram block.
- Create a Mermaid sequence diagram, but accidentally paste the code as a single unformatted line (e.g., from the browser’s address bar).
- Save or reload the document.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.