From 0f616d52b6a63632efe733e73b146e8fae05b005 Mon Sep 17 00:00:00 2001 From: Marian Sigler Date: Sat, 29 Sep 2012 15:49:58 +0200 Subject: mark error strings as safe. N.B: This means they all need to be escaped now! --- templates/error.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') 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 %} -

{{error.message}}

-

Fehler: {{error.description}}

+

Fehler: {{ error.message }}

+{{ error.description|safe }} {%- endblock %} -- cgit v1.2.3-1-g7c22