diff options
Diffstat (limited to 'layouts/_default')
| -rw-r--r-- | layouts/_default/_markup/render-codeblock-mermaid.html | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/layouts/_default/_markup/render-codeblock-mermaid.html b/layouts/_default/_markup/render-codeblock-mermaid.html index bb7bf42..dcd9c98 100644 --- a/layouts/_default/_markup/render-codeblock-mermaid.html +++ b/layouts/_default/_markup/render-codeblock-mermaid.html @@ -1,4 +1,4 @@  <pre class="mermaid"> -  {{- .Inner | safeHTML }} +  {{- .Inner | htmlEscape | safeHTML }}  </pre> -{{ .Page.Store.Set "hasMermaid" true }}
\ No newline at end of file +{{ .Page.Store.Set "hasMermaid" true }} | 
