summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMarian Sigler <m@qjym.de>2012-09-29 15:49:58 +0200
committerMarian Sigler <m@qjym.de>2012-09-29 15:49:58 +0200
commit0f616d52b6a63632efe733e73b146e8fae05b005 (patch)
tree8771eb3bb0d66aeb2093d1abbdea7bc81584fc77 /templates
parent12a6678d280733bd420923b49608d62f8f920ab1 (diff)
downloadweb-0f616d52b6a63632efe733e73b146e8fae05b005.tar.gz
web-0f616d52b6a63632efe733e73b146e8fae05b005.tar.bz2
web-0f616d52b6a63632efe733e73b146e8fae05b005.zip
mark error strings as safe. N.B: This means they all need to be escaped now!
Diffstat (limited to 'templates')
-rw-r--r--templates/error.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/error.html b/templates/error.html
index b025572..0f403b5 100644
--- a/templates/error.html
+++ b/templates/error.html
@@ -2,7 +2,7 @@
{%- from '_macros.html' import render_field %}
{%- block content %}
-<h1>{{error.message}}</h1>
-<p><b>Fehler</b>: {{error.description}}</p>
+<h1>Fehler: {{ error.message }}</h1>
+{{ error.description|safe }}
{%- endblock %}