Errors in Mermaid chart mess up Discourse's content

Discourse Mermaid generates errors when an error is made in the mermaid chart, messing with the site and generating unintended content at the bottom of the screen. An example is shown.
Video:

Showcase - The error also occured here on meta. Scroll down to the bottom of the page.
    flowchart
         A -```

1 Like

Yikes… this is a new feature in mermaid, will see if we can disable it.

2 Likes

I saw that while I was testing, but couldn’t get it to come back consistently, even while purposely breaking the mermaid chart code.

Though i see it here on Meta.

2 Likes

will be fixed with:

5 Likes