Skip to content

v1.34.74

Choose a tag to compare

@github-actions github-actions released this 16 Jul 13:13
· 72 commits to master since this release
ad3460d

Fixed — mermaid-text UTF-8 safety (#29)

Bumps the bundled mermaid-text to 0.56.1, which fixes panics and silent
label corruption when rendering mermaid diagrams that contain non-ASCII
(e.g. Cyrillic) text — byte offsets were being used where character offsets
were expected. Concretely, a mermaid sequence diagram with a non-ASCII
participant/keyword line could crash the viewer, and a non-ASCII
flowchart could render a corrupted diagram (brackets leaking into
labels, nodes dropped). See the mermaid-text 0.56.1 changelog for the full
list of parser fixes. Reported by @vshylov.


Credit: the mermaid-text UTF-8 fix was reported and originally fixed by @vshylov (#29 / #30).