Skip to content

fix: mermaid diagram parsing error with special characters#305

Merged
dsyme merged 1 commit intogithubnext:mainfrom
danhdx2:fix/mermaid-label-escape
Apr 10, 2026
Merged

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

Conversation

@danhdx2
Copy link
Copy Markdown
Contributor

@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

@dsyme dsyme merged commit 97143ac into githubnext:main Apr 10, 2026
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 /

3 participants