From 837ecde795186480975df20959a09a5345b4381f Mon Sep 17 00:00:00 2001 From: sharkykh Date: Sun, 14 May 2017 11:02:07 +0300 Subject: [PATCH] Wrap description in a CDATA tag --- nyaa/templates/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nyaa/templates/rss.xml b/nyaa/templates/rss.xml index f962a0b..97eaba7 100644 --- a/nyaa/templates/rss.xml +++ b/nyaa/templates/rss.xml @@ -7,7 +7,7 @@ {% for torrent in torrent_query %} {{ torrent.display_name }} - {{ torrent.description }} + {% if use_elastic %} {% if torrent.has_torrent %} {{ url_for('download_torrent', torrent_id=torrent.meta.id, _external=True) }}