aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney')
-rw-r--r--ihatemoney/templates/display_errors.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ihatemoney/templates/display_errors.html b/ihatemoney/templates/display_errors.html
index 9e19605..265fa25 100644
--- a/ihatemoney/templates/display_errors.html
+++ b/ihatemoney/templates/display_errors.html
@@ -1,5 +1,5 @@
{% for field_name, field_errors in form.errors.items() if field_errors %}
{% for error in field_errors %}
- <p class="alert alert-danger"><strong>{{ form[field_name].label.text }}:</strong> {{ error }}</p>
+ <p class="alert alert-danger"><strong>{{ form[field_name].label.text }}:</strong> {{ error|escape }}</p>
{% endfor %}
{% endfor %}