From 04d1d053cc773af20269cc257301fcd5267b3e93 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 26 Oct 2021 18:34:20 -0400 Subject: one more crack at properly HTMl-encoding full content in description --- themes/hugo-pt2021/layouts/_default/index.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/hugo-pt2021/layouts') diff --git a/themes/hugo-pt2021/layouts/_default/index.xml b/themes/hugo-pt2021/layouts/_default/index.xml index ade0515..d0d9a13 100644 --- a/themes/hugo-pt2021/layouts/_default/index.xml +++ b/themes/hugo-pt2021/layouts/_default/index.xml @@ -44,7 +44,7 @@ Changes: {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} - {{ .Content | htmlEscape }} + {{ .Content | htmlEscape | html }} {{ end }} -- cgit v1.2.3