Open
Description
Description
Multiline are not suported anymore
Until 10.9.3
, it was ok
Starting since 11.0.0
, multiline are not supported anymore
Even in the last release 11.4.0
Even the develop
branch
Steps to reproduce
- add a
\n
in a label - observe that the newline is not rendered,
\n
is displayed as plain text
Screenshots
No response
Code Sample
flowchart TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me\nthink}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]
Setup
- Mermaid version: 11.0.0 and above
- Browser and Version: Zen 1.0.1-a.18 (Firefox 132.0.1) (64 bits)
Suggested Solutions
No response
Additional Context
No response