Remove unneeded safeHTML
This commit is contained in:
@@ -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" }}
|
||||
|
@@ -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" }}
|
||||
|
Reference in New Issue
Block a user