diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2014-01-27 11:00:28 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2014-01-27 11:00:28 +0100 |
commit | 524d7811c8ba66b1756a1f599dd894e04c6b8cf9 (patch) | |
tree | 42c32d184907ca159c76dd44adb5be75c480082c /pyaggr3g470r/templates/article.html | |
parent | Improved /inactives template. (diff) | |
download | newspipe-524d7811c8ba66b1756a1f599dd894e04c6b8cf9.tar.gz newspipe-524d7811c8ba66b1756a1f599dd894e04c6b8cf9.tar.bz2 newspipe-524d7811c8ba66b1756a1f599dd894e04c6b8cf9.zip |
explicitly mark a string as safe HTML with |safe
Diffstat (limited to 'pyaggr3g470r/templates/article.html')
-rw-r--r-- | pyaggr3g470r/templates/article.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html index 8d4c2695..54c9b9a2 100644 --- a/pyaggr3g470r/templates/article.html +++ b/pyaggr3g470r/templates/article.html @@ -6,7 +6,7 @@ {% block content %} <div class="container"> <div class="jumbotron"> - <h2><a href="{{ article.link }}">{{ article.title }}</a></h2> + <h2><a href="{{ article.link }}">{{ article.title|safe }}</a></h2> <a href="/delete/{{ article.id }}"><i class="glyphicon glyphicon-remove" title="Delete this article"></i></a> {% if article.like %} <a href="/like/{{ article.id }}"><i class="glyphicon glyphicon-star" title="One of your favorites"></i></a> |