benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.48k stars 2.7k forks source link

mermaidjs can't render htmlLabels #1800

Open kierandg opened 1 year ago

kierandg commented 1 year ago
```mermaid

%%{init: { 
    "theme": "forest",
    "flowchart": { "htmlLabels": true, "curve": "basis" }},
    "securityLevel": "loose"
}%%

flowchart LR

A[Text 1<br/><span style="color: red">text 2</span>] --> B["fa:fa-comment-dots<br/>Comment"]


**Expected result:**
The html part &lt;span&gt; of the label is rendered correctly