Correctly handle HTML description in feed

master
Simon Bruder 2022-01-21 18:08:26 +01:00
parent 065eea72b8
commit 8d996651aa
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 3 additions and 3 deletions

View File

@ -33,15 +33,15 @@
<link>{{ page.permalink | escape_xml | safe }}</link>
<guid>{{ page.permalink | escape_xml | safe }}</guid>
<pubDate>{{ page.date | date(format="%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
<description><![CDATA[{{ page.description }}]]></description>
<description><![CDATA[{{ page.description | safe }}]]></description>
<atom:link rel="http://podlove.org/deep-link" href="{{ page.permalink | escape_xml | safe }}#"/>
<enclosure url="{{ get_url(path="episodes/" ~ page.slug ~ "." ~ format.ext) | escape_xml | safe }}" length="{{ episode_meta.formats[format.ext].size }}" type="{{ format.mime_type | escape_xml | safe }}"/>
<itunes:duration>{{ episode_meta.duration }}</itunes:duration>
<itunes:author>{{ config.extra.author }}</itunes:author>
<itunes:subtitle>{{ page.extra.subtitle }}</itunes:subtitle>
<itunes:episode>{{ page.extra.episode }}</itunes:episode>
<itunes:summary>{{ page.description }}</itunes:summary>
<content:encoded><![CDATA[<p><strong>{{ page.extra.subtitle }}</strong></p> <p>{{ page.description}}</p> {{ page.content | safe }}]]></content:encoded>
<itunes:summary><![CDATA[{{ page.description | safe }}]]></itunes:summary>
<content:encoded><![CDATA[<p><strong>{{ page.extra.subtitle }}</strong></p> <p>{{ page.description | safe }}</p> {{ page.content | safe }}]]></content:encoded>
{%- for contributor in page.extra.contributors %}
<atom:contributor>
<atom:name>{{ contributor }}</atom:name>