Remove unneeded safeHTML

This commit is contained in:
Will Faught
2023-09-24 20:58:11 -07:00
parent a09bbcd5cf
commit dc9b075bde
9 changed files with 17 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
{{ $caption := .Get 0 | default (.Get "caption") | markdownify | safeHTML }}
{{ $content := .Inner | markdownify | safeHTML }}
{{ $caption := .Get 0 | default (.Get "caption") | markdownify }}
{{ $content := .Inner | markdownify }}
{{ $float := .Get "float" }}
{{ $horizontal := .Get "horizontal" | default "center" }}
{{ $maxwidth := .Get "maxwidth" }}

View File

@@ -1,5 +1,5 @@
{{ $cite := .Get 0 | default (.Get "cite") }}
{{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" | markdownify | safeHTML }}
{{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" | markdownify }}
{{ if not $content }}
{{ errorf "layouts/shortcodes/paige/quote.html: no content" }}