Do not escape .Content in the RSS feed templates
This commit is contained in:
parent
af23a386cf
commit
e73040bb44
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<item>
|
<item>
|
||||||
{{ partial "rss_item_metadata.rss" . }}
|
{{ partial "rss_item_metadata.rss" . }}
|
||||||
<description>{{ `<![CDATA[` | safeHTML }}
|
<description>{{ `<![CDATA[` | safeHTML }}
|
||||||
{{ .Content | html }}
|
{{ .Content }}
|
||||||
]]></description>
|
]]></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
{{ partial "rss_item_metadata.rss" . }}
|
{{ partial "rss_item_metadata.rss" . }}
|
||||||
<description>{{ `<![CDATA[` | safeHTML }}
|
<description>{{ `<![CDATA[` | safeHTML }}
|
||||||
<img src="{{ $thumbnail.Permalink }}">
|
<img src="{{ $thumbnail.Permalink }}">
|
||||||
{{ .Content | html }}
|
{{ .Content }}
|
||||||
]]></description>
|
]]></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue