aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/rss.xml5
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>