fix: add missing tags for CDATA inside RSS feeds #14
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
<lastBuildDate>{{ buildTime | formatAsUTCString }}</lastBuildDate>
|
||||
{% for item in items | reverse %}
|
||||
<item>
|
||||
<title><![CDATA[{{ item.data.title }}]]></title>
|
||||
<title><![CDATA[{{ item.data.title | safe }}]]></title>
|
||||
<guid>{{ meta.url }}{{ item.url }}</guid>
|
||||
<pubDate>{{ item.date | formatAsUTCString }}</pubDate>
|
||||
<link>{{ meta.url }}{{ item.url }}</link>
|
||||
|
@ -20,7 +20,7 @@
|
|||
{% if item.content %}
|
||||
<description><![CDATA[{{ item.content | convertRelativeLinks(meta.url) | safe }}]]></description>
|
||||
{% elseif item.data.excerpt %}
|
||||
<description><![CDATA[{{ item.excerpt }}]]></description>
|
||||
<description><![CDATA[{{ item.excerpt | safe }}]]></description>
|
||||
{% endif %}
|
||||
</item>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue