From bc27441f692d3b720327be0a8e61e4bb82332ad5 Mon Sep 17 00:00:00 2001 From: razonyang Date: Mon, 1 Jul 2024 00:33:48 +0800 Subject: [PATCH] fix: htmlencode the Inner --- layouts/_default/_markup/render-codeblock-mermaid.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/_markup/render-codeblock-mermaid.html b/layouts/_default/_markup/render-codeblock-mermaid.html index 20ec319..c2af96f 100644 --- a/layouts/_default/_markup/render-codeblock-mermaid.html +++ b/layouts/_default/_markup/render-codeblock-mermaid.html @@ -1,4 +1,4 @@ {{ .Page.Store.Set "hasMermaid" true -}}
-    {{- .Inner | safeHTML -}}
+    {{- .Inner -}}