diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-11 14:28:27 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-11 14:29:24 +0100 |
commit | 280ef989cddb895b3c578c2f8617ad1302ad01c7 (patch) | |
tree | 07f4bbc2414af3b85d0d97cb88eaf4409c2fb8d8 | |
parent | 341fde213cceb642b60cfea936e31f80a8fedbff (diff) |
Stop double-escaping title in alert-update email.
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | templates/email/default/alert-update.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cc359e8f..93e2bfac6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ - Improve handling of Open311 state changes. #2069 - Don't strip whitespace from user passwords. #2111 - Make OpenGraph description translatable. + - Stop double-escaping title in alert-update email. - Admin improvements: - Inspectors can set non_public status of reports. #1992 - Default start date is shown on the dashboard. diff --git a/templates/email/default/alert-update.html b/templates/email/default/alert-update.html index 24d1b9834..a2f1c69a9 100644 --- a/templates/email/default/alert-update.html +++ b/templates/email/default/alert-update.html @@ -20,7 +20,7 @@ INCLUDE '_email_top.html'; [% end_padded_box %] </th> [% WRAPPER '_email_sidebar.html' object = report %] - <h2 style="[% h2_style %]">[% title | html %]</h2> + <h2 style="[% h2_style %]">[% report.title | html %]</h2> <p style="[% secondary_p_style %]">[% report.detail | html %]</p> [% END %] |