Mermaid 图表中的错误影响 Discourse 的内容

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 个赞

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

2 个赞

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 个赞

will be fixed with:

https://github.com/discourse/discourse-mermaid-theme-component/pull/18

5 个赞