From 55f77613d4f91afa270028a03803b0494a890c96 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 8 Aug 2017 20:37:01 +0200 Subject: [PATCH] Fix #576 -- linebreaks in bank details in HTML mails --- .../pretixplugins/banktransfer/email/order_pending.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/email/order_pending.txt b/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/email/order_pending.txt index 84318ea2f..002cb625a 100644 --- a/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/email/order_pending.txt +++ b/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/email/order_pending.txt @@ -1,6 +1,8 @@ {% load i18n %}{% load l10n %}{% blocktrans with bank=details code=order.full_code total=order.total|localize currency=event.currency %} Please transfer the full amount to the following bank account. +``` Reference: {{ code }} Amount: {{ total }} {{ currency }} -{{ bank }}{% endblocktrans %} +{{ bank }} +```{% endblocktrans %}