diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-23 19:27:42 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-23 19:27:42 +0100 |
commit | 5e31ec379db43f6ecfdde6ebdc155e7896338698 (patch) | |
tree | 71746a1f093ad576341bc191b25f76e776eb4c2d | |
parent | Fixed a minor bug in the '/feed' page. (diff) | |
download | newspipe-5e31ec379db43f6ecfdde6ebdc155e7896338698.tar.gz newspipe-5e31ec379db43f6ecfdde6ebdc155e7896338698.tar.bz2 newspipe-5e31ec379db43f6ecfdde6ebdc155e7896338698.zip |
Use the 'safe' Jinja filter to prevent bad html code.
-rw-r--r-- | pyaggr3g470r/templates/feed.html | 2 |
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 %} |