From 39cd33d34507c0cd12e3368b95add9c7c45b65e6 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 26 Oct 2021 23:49:24 -0400 Subject: hugo-pt2021: use CDATA for RSS feed --- themes/hugo-pt2021/layouts/_default/index.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/hugo-pt2021/layouts/_default/index.xml b/themes/hugo-pt2021/layouts/_default/index.xml index d0d9a13..3b61876 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 | html }} + {{- (printf "" .Content) | safeHTML -}} {{ end }} -- cgit v1.2.3