Repository navigation
v1.34.74
·
72 commits
to master
since this release
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).