If you have fragments of markup, that you would like to preserve, then wrap them in a ignoring comment tags:
<!--wmm:ignore--> <div class="mermaid">graph TD; A-->B; A-->C; B-->D; C-->D; </div> <!--/wmm:ignore-->
There was an error while loading. Please reload this page.