Skip to content
Snippets Groups Projects
Commit 2aa8d02e authored by Arnaud Levy's avatar Arnaud Levy
Browse files

cdata

parent a6b7fdfc
No related branches found
Tags v7.3.11
No related merge requests found
......@@ -58,7 +58,13 @@
<pubDate>{{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
<guid>{{ .Permalink }}</guid>
<description>{{ .Summary | transform.XMLEscape | safeHTML }}</description>
{{ with .Summary }}
<description>
{{- printf "<![CDATA[" | safeHTML -}}
{{ . | safeHTML }}
{{- printf "]]>" | safeHTML -}}
</description>
{{ end }}
{{ with .Params.image }}
{{ $media := partial "GetMedia" .id }}
{{ if $media }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment