From 60c3d7c7cd70308c3ea1c705e238031ad61713e9 Mon Sep 17 00:00:00 2001 From: Eren Okka Date: Sat, 13 May 2017 06:23:58 +0300 Subject: [PATCH 1/2] Remove whitespace from RSS links --- nyaa/templates/rss.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nyaa/templates/rss.xml b/nyaa/templates/rss.xml index 6e50971..ff9f0bc 100644 --- a/nyaa/templates/rss.xml +++ b/nyaa/templates/rss.xml @@ -10,9 +10,7 @@ {% if torrent.has_torrent %} {{ torrent.display_name }} - - {{ url_for('download_torrent', torrent_id=torrent.id, _external=True) }} - + {{ url_for('download_torrent', torrent_id=torrent.id, _external=True) }} {{ url_for('view_torrent', torrent_id=torrent.id, _external=True) }} {{ torrent.created_time|rfc822 }} From 1e66fe0f77d9dc27f8c3967e9c2adb0883bbfcd2 Mon Sep 17 00:00:00 2001 From: Eren Okka Date: Sat, 13 May 2017 09:06:31 +0300 Subject: [PATCH 2/2] Remove whitespace from RSS channel description --- nyaa/templates/rss.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nyaa/templates/rss.xml b/nyaa/templates/rss.xml index ff9f0bc..abe6f06 100644 --- a/nyaa/templates/rss.xml +++ b/nyaa/templates/rss.xml @@ -1,9 +1,7 @@ {{ config.SITE_NAME }} Torrent File RSS (No magnets) - - RSS Feed for {{ term }} - + RSS Feed for {{ term }} {{ url_for('home', _external=True) }} {% for torrent in query %}