Closed bmalinconico closed 3 years ago
Thank you for double checking me, I didn't think to try it there.
Based on that I can also see that the HTML shows up as the label, but I was able to remove that by setting securityLevel
to antiscript
. (edit: loose works too)
Are there any other required configs for mermaid runtime that you are aware of?
I found the issue. We are using Mermaid in Hugo, which is using the following to style to render the graphs:
<div class="mermaid">
graph LR
A --- B
B-->C[fa:fa-ban forbidden]
B-->D(fa:fa-spinner);
</div>
Since you are inserting DIV tags for the structure, and mermaid is using .innerHTML
to get their content, your single quotes are getting transformed to double quotes and the parsing breaks.
Hello,
I am experimenting with Structurizr and and looking to create Mermaid output. I am using the following getting started example:
When I convert to Mermaid I get the following output:
However when I try to use this output with Mermaid 8.8.0 I get an error stating there is a syntax error in the Graph.
What version of Mermaid is expected to work with the Structurizr CLI?