]> git.ipfire.org Git - ipfire.org.git/commitdiff
Fix invalid RSS encoding.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Apr 2011 21:32:21 +0000 (23:32 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Apr 2011 21:32:21 +0000 (23:32 +0200)
www/templates/rss.xml

index d4809bffd69aa4ea0cb48dbedfd01104c1ab66ef..67115358ef9ccf7586641c1404a178063f3bc341 100644 (file)
@@ -9,7 +9,7 @@
                <pubDate>Thu, 8 Nov 2007 00:00:00 +0200</pubDate>
                {% for item in items %}
                        <item>
-                               <title>{{ item.title }}</title>
+                               <title>{{ escape(item.title) }}</title>
                                <link>{{ item.url }}</link>
                                <author>{{ item.author.mail }} ({{ item.author.name }})</author>
                                <guid>{{ item.url }}</guid>