From ac31729065fa74782af16bb299bdb5ba75dc8825 Mon Sep 17 00:00:00 2001 From: Wooseop Kim Date: Tue, 28 Jan 2020 23:31:57 +0900 Subject: [PATCH] Revert "Use safeHTML function" This reverts commit deabb9814786a27a82443866f06b762ce85228b3. --- layouts/shortcodes/figure.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html index 6642c82..d65b533 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -1,8 +1,8 @@ {{ if .Get "src" }}
{{ . | plainify }} - {{ if .Get "caption" }} -
{{ .Get "caption" | safeHTML }}
- {{ end }} + {{- if .Get "caption" -}} +
{{ .Get "caption" }}
+ {{- end -}}
{{ end }}