diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-11-27 20:15:33 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-12-09 09:38:03 +0000 |
commit | 2e9e82dfb57b972d1351ecef86687a0d067598b1 (patch) | |
tree | 189119d0c2be5b0327855609d27cb745a3d14d7b /templates/email/default/problem-moderated.html | |
parent | 6c2d3d5a7d84521d34daa2cf7e4be76a54b3b0e0 (diff) |
Switch to default-escaped in email templates.
We add a way to process a template with no auto-escaping, that can be
used for the text parts of emails, and mark various HTML output as safe.
Diffstat (limited to 'templates/email/default/problem-moderated.html')
-rw-r--r-- | templates/email/default/problem-moderated.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/email/default/problem-moderated.html b/templates/email/default/problem-moderated.html index 142f27fc2..915bb4138 100644 --- a/templates/email/default/problem-moderated.html +++ b/templates/email/default/problem-moderated.html @@ -10,7 +10,7 @@ INCLUDE '_email_top.html'; %] <th style="[% td_style %][% primary_column_style %]" id="primary_column"> - [% start_padded_box %] + [% start_padded_box | safe %] <h1 style="[% h1_style %]">Your report has been moderated</h1> [% IF types == 'hide' -%] <p style="[% p_style %]">The report has been hidden from the site.</p> @@ -22,7 +22,7 @@ INCLUDE '_email_top.html'; [% END -%] <p style="[% p_style %]">If you do not think that this report should have been moderated, you may contact the team at <a href="[% report_complain_uri %]">[% report_complain_uri %]</a></p> - [% end_padded_box %] + [% end_padded_box | safe %] </th> [% WRAPPER '_email_sidebar.html' object = problem %] <h2 style="[% h2_style %]">[% moderated_data.title | html %]</h2> |