1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 18:09:59 +00:00

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

View file

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