mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-20 07:15:25 +00:00
Mermaid 11's lexer reads an edge id (`e1@-->`) from any run of non-space characters ending in "@". In `F[@mention] --> G` that run starts at the node id and crosses the label's opening bracket, so the parse fails and the card falls back to the source. Backport the lexer half of mermaid-js/mermaid#8459, which stops the edge id at the node shape characters, onto the pinned mermaid 11.16.0 and rebuild the runtime. Moving to mermaid 12 instead changes the default layout and look of every diagram and raises the browser floor, so it stays a separate decision. Closes #10157 Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: monarchmaisuriya <37824914+monarchmaisuriya@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>