Supression des sauts de ligne dans les flux RSS

This commit is contained in:
Guillaume Ayoub 2018-05-05 14:26:18 +02:00
parent 5d286fd35e
commit 1f524fb173

View File

@ -6,18 +6,10 @@
<language>fr</language>
{% for entry in entries %}
<item>
<title>
<![CDATA[ {% if entry.feed %}[{{ entry.feed | safe }}]{% endif %} {{ entry.content.title | safe }} ]]>
</title>
<description>
<![CDATA[ {{ (entry.content.description or entry.content.summary) | safe }} ]]>
</description>
<link>
<![CDATA[ {{ entry.content.link | safe }} ]]>
</link>
<pubDate>
{{ entry.content.timestamp | rfc822_datetime }}
</pubDate>
<title><![CDATA[ {% if entry.feed %}[{{ entry.feed | safe }}]{% endif %} {{ entry.content.title | safe }} ]]></title>
<description><![CDATA[ {{ (entry.content.description or entry.content.summary) | safe }} ]]></description>
<link>{{ entry.content.link }}</link>
<pubDate>{{ entry.content.timestamp | rfc822_datetime }}</pubDate>
</item>
{% endfor %}
</channel>