1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 08:00:00 +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 %}
<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>