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>
|
<lastBuildDate>{{ buildTime | formatAsUTCString }}</lastBuildDate>
|
||||||
{% for item in items | reverse %}
|
{% for item in items | reverse %}
|
||||||
<item>
|
<item>
|
||||||
<title><![CDATA[{{ item.data.title }}]]></title>
|
<title><![CDATA[{{ item.data.title | safe }}]]></title>
|
||||||
<guid>{{ meta.url }}{{ item.url }}</guid>
|
<guid>{{ meta.url }}{{ item.url }}</guid>
|
||||||
<pubDate>{{ item.date | formatAsUTCString }}</pubDate>
|
<pubDate>{{ item.date | formatAsUTCString }}</pubDate>
|
||||||
<link>{{ meta.url }}{{ item.url }}</link>
|
<link>{{ meta.url }}{{ item.url }}</link>
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
{% if item.content %}
|
{% if item.content %}
|
||||||
<description><![CDATA[{{ item.content | convertRelativeLinks(meta.url) | safe }}]]></description>
|
<description><![CDATA[{{ item.content | convertRelativeLinks(meta.url) | safe }}]]></description>
|
||||||
{% elseif item.data.excerpt %}
|
{% elseif item.data.excerpt %}
|
||||||
<description><![CDATA[{{ item.excerpt }}]]></description>
|
<description><![CDATA[{{ item.excerpt | safe }}]]></description>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</item>
|
</item>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue