Wrap description in a CDATA tag

This commit is contained in:
sharkykh 2017-05-14 11:02:07 +03:00 committed by Kfir Hadas
parent e2eb3fb33c
commit 837ecde795
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
{% for torrent in torrent_query %}
<item>
<title>{{ torrent.display_name }}</title>
<description>{{ torrent.description }}</description>
<description><![CDATA[{{ torrent.description }}]]></description>
{% if use_elastic %}
{% if torrent.has_torrent %}
<link>{{ url_for('download_torrent', torrent_id=torrent.meta.id, _external=True) }}</link>