From 7552bcc936d25740b49832ba719df11d6a99fb7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sat, 3 Jun 2023 11:11:41 +0200 Subject: [PATCH] expand: fix html encoding of finishing content tag #557 --- layouts/partials/shortcodes/expand.html | 3 +-- layouts/partials/shortcodes/notice.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/layouts/partials/shortcodes/expand.html b/layouts/partials/shortcodes/expand.html index e4b2025cc5..0267fb4bf0 100644 --- a/layouts/partials/shortcodes/expand.html +++ b/layouts/partials/shortcodes/expand.html @@ -16,7 +16,6 @@ {{ $title | markdownify }}
-{{ $content | safeHTML }} -
+{{ $content | safeHTML }} {{- end }} \ No newline at end of file diff --git a/layouts/partials/shortcodes/notice.html b/layouts/partials/shortcodes/notice.html index 784eb9947e..385a51e107 100644 --- a/layouts/partials/shortcodes/notice.html +++ b/layouts/partials/shortcodes/notice.html @@ -19,6 +19,6 @@
{{ if $icon }}{{ end }}{{ if and $icon $title }} {{ end }}{{ $title | markdownify }}
-{{ $content | safeHTML }}
+{{ $content | safeHTML }}
{{- end }} \ No newline at end of file