aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/home.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2014-01-27 11:00:28 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2014-01-27 11:00:28 +0100
commit524d7811c8ba66b1756a1f599dd894e04c6b8cf9 (patch)
tree42c32d184907ca159c76dd44adb5be75c480082c /pyaggr3g470r/templates/home.html
parentImproved /inactives template. (diff)
downloadnewspipe-524d7811c8ba66b1756a1f599dd894e04c6b8cf9.tar.gz
newspipe-524d7811c8ba66b1756a1f599dd894e04c6b8cf9.tar.bz2
newspipe-524d7811c8ba66b1756a1f599dd894e04c6b8cf9.zip
explicitly mark a string as safe HTML with |safe
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r--pyaggr3g470r/templates/home.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index ed19c5c9..ad6eb426 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -7,7 +7,7 @@
{% for feed in feeds|sort(attribute="title") %}
<div class="row">
<div class="col-md-6 col-md-offset-3">
- <h1>{{ feed.title }}</h1>
+ <h1>{{ feed.title|safe }}</h1>
<a href="/articles/{{ feed.oid }}"><i class="glyphicon glyphicon-th-list" title="All articles"></i></a>
<a href="/feed/{{ feed.oid }}"><i class="glyphicon glyphicon-info-sign" title="Details"></i></a>
<a href="/edit_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-edit" title="Edit this feed"></i></a>
@@ -21,7 +21,7 @@
{% for n in range(number, number+3) %}
<div class="col-xs-6 col-sm-4 col-md-4">
{% if feed.articles[n].readed %}<h3>{% else %}<h1>{% endif %}
- <a href="/article/{{ feed.articles[n].id }}">{{ feed.articles[n].title }}</a>
+ <a href="/article/{{ feed.articles[n].id }}">{{ feed.articles[n].title|safe }}</a>
{% if feed.articles[n].readed %}</h3>{% else %}</h1>{% endif %}
<h6>{{ feed.articles[n].date }}</h6>
</div>
@@ -33,7 +33,7 @@
{% for n in range(feed.articles|length-(feed.articles|length % 3), feed.articles|length) %}
<div class="col-xs-6 col-sm-4 col-md-4">
{% if feed.articles[n].readed %}<h3>{% else %}<h1>{% endif %}
- <a href="/article/{{ feed.articles[n].id }}">{{ feed.articles[n].title }}</a>
+ <a href="/article/{{ feed.articles[n].id }}">{{ feed.articles[n].title|safe }}</a>
{% if feed.articles[n].readed %}</h3>{% else %}</h1>{% endif %}
<h6>{{ feed.articles[n].date }}</h6>
</div>
bgstack15