From 524d7811c8ba66b1756a1f599dd894e04c6b8cf9 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 27 Jan 2014 11:00:28 +0100 Subject: explicitly mark a string as safe HTML with |safe --- pyaggr3g470r/templates/unread.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyaggr3g470r/templates/unread.html') diff --git a/pyaggr3g470r/templates/unread.html b/pyaggr3g470r/templates/unread.html index 25cfb79c..ed6aae19 100644 --- a/pyaggr3g470r/templates/unread.html +++ b/pyaggr3g470r/templates/unread.html @@ -7,7 +7,7 @@ {% for feed in feeds|sort(attribute="title") %}
-

{{ feed.title }}

+

{{ feed.title|safe }}

@@ -19,7 +19,7 @@ {% for n in range(number, number+3) %}
{% if feed.articles[n].readed %}

{% else %}

{% endif %} - {{ feed.articles[n].title }} + {{ feed.articles[n].title|safe }} {% if feed.articles[n].readed %}

{% else %}{% endif %}
{{ feed.articles[n].date }}
@@ -31,7 +31,7 @@ {% for n in range(feed.articles|length-(feed.articles|length % 3), feed.articles|length) %}
{% if feed.articles[n].readed %}

{% else %}

{% endif %} - {{ feed.articles[n].title }} + {{ feed.articles[n].title|safe }} {% if feed.articles[n].readed %}

{% else %}{% endif %}
{{ feed.articles[n].date }}
-- cgit