Skip to content

fix: mermaid diagram parsing error with special characters#305

Open
danhdx2 wants to merge 1 commit intogithubnext:mainfrom
danhdx2:fix/mermaid-label-escape
Open

fix: mermaid diagram parsing error with special characters#305
danhdx2 wants to merge 1 commit intogithubnext:mainfrom
danhdx2:fix/mermaid-label-escape

Conversation

@danhdx2
Copy link
Copy Markdown

@danhdx2 danhdx2 commented Apr 1, 2026

Fix Mermaid diagram rendering issue caused by unescaped node labels.

  • Wrap all node labels in double quotes
  • Prevent parsing errors with special characters like /
  • Improve diagram reliability in GitHub markdown

Fixes #304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mermaid diagram fails to render with node labels starting with /

2 participants