diff options
| author | Benjamin Bouvier <public@benj.me> | 2018-09-03 20:52:48 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2018-09-03 20:52:48 +0200 |
| commit | 22f8d552c3f2273f1ea1cfa81cb10fe8f3cad21d (patch) | |
| tree | f311e696e2a04c6ca3632a94131f2a7049088dd7 /ihatemoney/templates/display_errors.html | |
| parent | bb77fdbe3e4f3605b201de5cdb96483d73b3dda4 (diff) | |
| download | ihatemoney-mirror-22f8d552c3f2273f1ea1cfa81cb10fe8f3cad21d.zip ihatemoney-mirror-22f8d552c3f2273f1ea1cfa81cb10fe8f3cad21d.tar.gz ihatemoney-mirror-22f8d552c3f2273f1ea1cfa81cb10fe8f3cad21d.tar.bz2 | |
Fix error escaping; (#388)
Diffstat (limited to 'ihatemoney/templates/display_errors.html')
| -rw-r--r-- | ihatemoney/templates/display_errors.html | 2 |
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 %} |
