diff --git a/layouts/shortcodes/mermaid.html b/layouts/shortcodes/mermaid.html index ff90335..28fb80d 100644 --- a/layouts/shortcodes/mermaid.html +++ b/layouts/shortcodes/mermaid.html @@ -7,6 +7,6 @@ {{ .Page.Scratch.Set "mermaid" true }} {{ end }} -

- {{- .Inner -}} -

+
+  {{- .Inner | safeHTML -}}
+