mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Fix newlines in HTML emails
This problem was masked because the email message component was also replacing newlines with `<br>`s. Implements: - [ ] https://github.com/alphagov/notifications-utils/pull/60
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user