diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 17:25:50 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 17:25:50 +0300 |
commit | 02246775f89dbb0cb29b21c948dcc2f0126de8d2 (patch) | |
tree | 0b749b93737fb71ae3f4ba44414ab82a12cff949 /layouts | |
parent | ded35d093f9e8116b4f608b7f930648008616a3d (diff) |
Auto-commit 2024-12-15
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> |