Skip to content

Commit

Permalink
Preserve linebreaks in messages.html
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Stevens <[email protected]>
  • Loading branch information
mstevens83 committed Dec 13, 2015
1 parent a4e48f2 commit 3cf4ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geokey/templates/snippets/messages.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% for message in messages %}
<div class="alert alert-{{ message.tags }} alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
{{ message }}
{{message|linebreaks}}
</div>
{% endfor %}
{% endif %}

0 comments on commit 3cf4ec0

Please sign in to comment.