mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
71.95k stars 6.53k forks source link

Long markdown strings disappear in Firefox #5646

Open tautvilas opened 3 months ago

tautvilas commented 3 months ago

Description

When using markdown strings if the string is long enough it disappear when using Firefox browser:

https://mermaid.live/edit#pako:eNo9T7sOwjAM_BXLMwsDS1lZmeiYoRZxmojmIccRRRX_TgoSlgff6XS-2_CeLeOA0GcWKh7Gy9mkHR5Pm8Fp9KFCX0rAK8WyMGQHkeRh8zNBVQlpBvWkYEOlUpikQk7ggrDL62TwjQeMLJGC7Z-23d2geo5scOinZUdtUYMm7VJqmm-vdMdBpfEBJbfZ4-BoqR21Ykn5EqinjX-WbdAs11-Xb6X3ByrzSik

Steps to reproduce

  1. Enter markdown code sample in https://mermaid.live/ editor: 15{"This is an example of markdown string that disappears on firefox"}
  2. open with latest Firefox

Screenshots

Screenshot 2024-07-15 at 13 19 38

Code Sample

graph TD;
    15{"`This is an example of markdown string that disappears on firefox`"}

Setup

Suggested Solutions

No response

Additional Context

No response

eldenseropian-color commented 3 months ago

I just ran into this too - would love if the fix got merged!

andrzejstepien commented 2 months ago

Also having this issue - looking forward to the fix getting merged!

StefanFl commented 1 month ago

Seeing it too. It would be great to get this fixed.