Skip to content

Commit

Permalink
fix: htmlencode the Inner (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jun 30, 2024
1 parent 2461a6d commit 87e3f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-codeblock-mermaid.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ .Page.Store.Set "hasMermaid" true -}}
<pre class="mermaid">
{{- .Inner | safeHTML -}}
{{- .Inner -}}
</pre>

0 comments on commit 87e3f53

Please sign in to comment.