From 87e3f5340875e77a9860d527daed9da48964ca02 Mon Sep 17 00:00:00 2001 From: Razon Yang Date: Mon, 1 Jul 2024 00:34:31 +0800 Subject: [PATCH] fix: htmlencode the Inner (#11) --- 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 -}}