diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 1199ec6..4f65f77 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -11,7 +11,7 @@ {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ .Summary | safeHTML }} + {{ .Summary | transform.XMLEscape | safeHTML }} {{ end }} {{ end }} @@ -22,7 +22,7 @@ {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ .Summary | safeHTML }} + {{ .Summary | transform.XMLEscape | safeHTML }} {{ end }} {{ end }}