-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v11: some complex HTML content is rendered as an empty node in flowcharts with Firefox #5851
Comments
+1
|
As Markdown Preview Enhanced recently updated Mermaid from 10.9.0 to 11.1.1 I noticed a similar issue. Since this update I get the text "Unsupported markdown: link" in the preview window in Mermaid nodes that contain a string starting with 'www.' or an email address. In the HTML exported version nothing appears in these blocks. Environment
To Reproduce flowchart
A -->mermaid("www.mermaidjs.org")
B -->me_example_com["me@example.com"]
Expected behavior No links created |
I can confirm the problem. Note that this renders perfectly in Chrome 128.0.6613.120 but fails in Firefox 130.0 |
Tested on firefox 130 and 131 under linux and windows. In all cases the same nodes are empty. |
Related: #5824 |
It is worth noting though that #5824 appears both under chrome and firefox, while this bug only appears under firefox |
Solved by #5856 (v11.2.1) |
Description
Complex labels with HTML are rendered as empty nodes in flowcharts since v11 in Firefox (v130 tested) even though "flowchart.htmlLabels" is true.
I couldn't find any doc for migrating from v10 to v11 to solve this.
Steps to reproduce
Diagram link
Screenshots
v10
v11: bottom node with HTML is rendered as empty node
Code Sample
Link
Setup
Suggested Solutions
Additional Context
No response
The text was updated successfully, but these errors were encountered: