Merge pull request #824 from alphagov/fix-newlines-html-email

Fix newlines in HTML emails
This commit is contained in:
Chris Hill-Scott
2016-08-01 14:54:56 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@
{% if not expanded %}
<div class="email-message-body-wrapper">
{% endif %}
{{ body|nl2br }}
{{ body }}
{% if not expanded %}
</div>
<div class='toggle' tabindex='0'>...<span class='visually-hidden'>show full email</span></div>

View File

@@ -19,4 +19,4 @@ pytz==2016.4
git+https://github.com/alphagov/notifications-python-client.git@1.0.0#egg=notifications-python-client==1.0.0
git+https://github.com/alphagov/notifications-utils.git@8.7.1#egg=notifications-utils==8.7.1
git+https://github.com/alphagov/notifications-utils.git@8.7.2#egg=notifications-utils==8.7.2