PNG export fails with #nbsp in the note text
Author: borisstratusCreated Apr 8, 2024Updated Mar 12, 2026
Labelsbug
sequenceDiagram
autonumber
note right of Test: {<br>test<br>#nbsp;}- Use the code above to describe the diagram
- Click the PNG download button
- Editor should download the PNG file but nothing happens
Expected result: Browser should initiate a file download
Observation: removing the #nbsp from the text provides a workaround
Browser: Chrome Version 123.0.6312.105 (Official Build) (64-bit) OS: Windows 11
Source: mermaid-js/mermaid-live-editor