aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-21 18:35:15 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-21 18:35:15 +0100
commita15cba76b34e5628e8b777a911fffbfc728ea5c3 (patch)
tree31d55a718be3a4c028f71bcbf418921915fca1ae
parentMinor improvements to the list of feeds. (diff)
downloadnewspipe-a15cba76b34e5628e8b777a911fffbfc728ea5c3.tar.gz
newspipe-a15cba76b34e5628e8b777a911fffbfc728ea5c3.tar.bz2
newspipe-a15cba76b34e5628e8b777a911fffbfc728ea5c3.zip
Useless if no category set.
-rw-r--r--src/web/templates/opml.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/templates/opml.xml b/src/web/templates/opml.xml
index c6ebc251..986ff165 100644
--- a/src/web/templates/opml.xml
+++ b/src/web/templates/opml.xml
@@ -9,6 +9,6 @@
<ownerEmail>{{ user.email }}</ownerEmail>
</head>
<body>
- {% for feed in user.feeds %} <outline title="{{ feed.title|escape }}" text="{{ feed.title|escape }}" description="{{ feed.description|escape }}" category="{% if feed.category_id != None %}/{{ categories[feed.category_id].name }}{% endif %}" xmlUrl="{{ feed.link|escape }}" htmlUrl="{{ feed.site_link|escape }}" />
+ {% for feed in user.feeds %} <outline title="{{ feed.title|escape }}" text="{{ feed.title|escape }}" description="{{ feed.description|escape }}" {% if feed.category_id != None %}category="/{{ categories[feed.category_id].name }}"{% endif %} xmlUrl="{{ feed.link|escape }}" htmlUrl="{{ feed.site_link|escape }}" />
{% endfor %}</body>
</opml>
bgstack15