aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/feed.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-23 19:27:42 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-23 19:27:42 +0100
commit5e31ec379db43f6ecfdde6ebdc155e7896338698 (patch)
tree71746a1f093ad576341bc191b25f76e776eb4c2d /pyaggr3g470r/templates/feed.html
parentFixed a minor bug in the '/feed' page. (diff)
downloadnewspipe-5e31ec379db43f6ecfdde6ebdc155e7896338698.tar.gz
newspipe-5e31ec379db43f6ecfdde6ebdc155e7896338698.tar.bz2
newspipe-5e31ec379db43f6ecfdde6ebdc155e7896338698.zip
Use the 'safe' Jinja filter to prevent bad html code.
Diffstat (limited to 'pyaggr3g470r/templates/feed.html')
-rw-r--r--pyaggr3g470r/templates/feed.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/feed.html b/pyaggr3g470r/templates/feed.html
index c7dfecc2..3d6bb3c0 100644
--- a/pyaggr3g470r/templates/feed.html
+++ b/pyaggr3g470r/templates/feed.html
@@ -28,7 +28,7 @@
{% endif %}
{% if feed.last_error %}
- {{ _("Here's the last error encountered while retrieving this feed:") }} <pre>{{ feed.last_error }}</pre><br />
+ {{ _("Here's the last error encountered while retrieving this feed:") }} <pre>{{ feed.last_error | safe }}</pre><br />
{% endif %}
{% if feed.articles.all()|count != 0 %}
bgstack15