Commit 5caed13f authored by Volker Krause's avatar Volker Krause

Escape line breaks in back field values

Fixes rendering of AirBerlin boarding passes, although that's kinda
irrelevant now...
parent 471baccc
......@@ -103,7 +103,7 @@
{% for field in pass.backFields %}
<div style="color: {{ pass.labelColor }};">{{ field.label }}</div>
<div>{{ field.value|safe }}</div>
<div>{{ field.value|safe|linebreaksbr }}</div>
{% endfor %}
</div> <!-- boarding pass -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment