diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-08 12:52:34 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-08 13:30:54 +0100 |
commit | 025274d4b79c56432b0abf99983c940a6c2bd08c (patch) | |
tree | e2ba935f8a0d60dd05ec173c64eb17b656bdc549 /templates/email/default/submit.html | |
parent | 8a13627c2cb349a099e3fbfabbaa890805775e65 (diff) |
Try and ensure emails have no lines of spaces.
One mail server we send to appears to reject messages containing =20,
even though those are perfectly acceptable quoted-printable messages.
Diffstat (limited to 'templates/email/default/submit.html')
-rw-r--r-- | templates/email/default/submit.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/email/default/submit.html b/templates/email/default/submit.html index e5cd8f203..7d0178938 100644 --- a/templates/email/default/submit.html +++ b/templates/email/default/submit.html @@ -29,12 +29,12 @@ of a local problem that they believe might require your attention.</p> <th style="[% contact_th_style %]">Email</th> <td style="[% contact_td_style %]"><a href="mailto:[% email | html %]">[% email | html %]</a></td> </tr> - [% IF phone %] + [%~ IF phone %] <tr> <th style="[% contact_th_style %]">Phone</th> <td style="[% contact_td_style %]"><a href="tel:[% phone | html %]">[% phone | html %]</a></td> </tr> - [% END %] + [%~ END %] </table> <p style="[% p_style %] margin-top: 0.5em;">Replies to this message will go directly to [% name | html %], the user who reported the problem.</p> [% end_padded_box %] @@ -42,13 +42,13 @@ of a local problem that they believe might require your attention.</p> <th style="[% td_style %][% secondary_column_style %]" id="secondary_column"> <img style="[% map_image_style %]" src="[% inline_image(report.static_map, 'map.jpeg') %]" width="310" height="200" alt=""> [% start_padded_box %] - [% IF has_photo %] + [%~ IF has_photo %] <img style="[% preview_photo_style %]" src="[% inline_image(report.get_first_image_fp) %]" alt="" align="right"> - [% END %] + [%~ END %] <h2 style="[% h2_style %]">[% title | html %]</h2> - [% IF category_line %] + [%~ IF category_line %] <p style="[% secondary_p_style %]">[% category | html %]</p> - [% END %] + [%~ END %] <p style="[% secondary_p_style %]">[% detail | html %]</p> <p style="[% secondary_p_style %]"> <strong>Location:</strong> |