diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/rss.xml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index e930f68..060bba3 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -28,11 +28,10 @@ {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} {{- end -}} {{ range $pages }} - {{- $content := .Summary | html -}} + {{- $content := safeHTML (.Summary | html) -}} {{- if .Params.Description -}} - {{- $content = .Params.Description | html -}} + {{- $content = safeHTML ( .Params.Description | html) -}} {{- end}} - <item> <title>{{ .Title }}</title> <link>{{ .Permalink }}</link> |