From fa8486fc4d60561c4cdb7cc54868aac9b02f8e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Wed, 22 Jun 2022 20:51:25 +0200 Subject: [PATCH] shortcode: unify #277 --- layouts/partials/shortcodes/mermaid.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/shortcodes/mermaid.html b/layouts/partials/shortcodes/mermaid.html index cef7f3d9a7..c6483ace9c 100644 --- a/layouts/partials/shortcodes/mermaid.html +++ b/layouts/partials/shortcodes/mermaid.html @@ -3,7 +3,7 @@ {{- $align := .align | default "center" }} {{- with $context }}
- {{- safeHTML $content -}} + {{- $content | safeHTML -}}
{{- .Page.Store.Set "htmlHasMermaid" true }} {{- end }} \ No newline at end of file