diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 8070d9d..eca41b7 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -11,7 +11,7 @@ {{- $pages = $pages | first $limit -}} {{- end -}} {{- printf "" | safeHTML }} - + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} @@ -41,7 +41,7 @@ {{ .Permalink }} {{ with .Description | html }}{{ . }}{{ else }}{{ .Summary | html }}{{ end -}} {{- if .Site.Params.ShowFullTextinRSS }} - {{ .Content | html }} + {{ (printf "" .Content) | safeHTML }} {{- end }} {{- end }}