summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/email/bugmail.html.tmpl7
-rw-r--r--template/en/default/email/flagmail.html.tmpl3
2 files changed, 7 insertions, 3 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl
index 1a74db4dc..e3b63f10b 100644
--- a/template/en/default/email/bugmail.html.tmpl
+++ b/template/en/default/email/bugmail.html.tmpl
@@ -28,8 +28,11 @@
full_url = 1, user = to_user %]
from [% INCLUDE global/user.html.tmpl user = to_user, who = comment.author %]</b>
[% END %]
- [% comment_div = comment.is_markdown ? "div" : "pre" %]
- <[% comment_div FILTER none %] class="bz_comment_text">[% comment.body_full({ wrap => 1 }) FILTER markdown(bug, comment, to_user) %]</[% comment_div FILTER none %]>
+ [% comment_div = comment.is_markdown ? "div" : "pre" %]
+ [% wrap = comment.is_markdown ? 0 : 1 %]
+ <[% comment_div FILTER none %] class="bz_comment_text">
+ [% comment.body_full({ wrap => wrap }) FILTER markdown(bug, comment, to_user) %]
+ </[% comment_div FILTER none %]>
</div>
[% END %]
</p>
diff --git a/template/en/default/email/flagmail.html.tmpl b/template/en/default/email/flagmail.html.tmpl
index 1c8fc0731..152c3420e 100644
--- a/template/en/default/email/flagmail.html.tmpl
+++ b/template/en/default/email/flagmail.html.tmpl
@@ -73,7 +73,8 @@
<b>Description:</b>
[% END %]
[% comment_div = comment.is_markdown ? "div" : "pre" %]
- <[% comment_div FILTER none %] class="bz_comment_text">[% comment.body_full({ wrap => 1 }) FILTER markdown(bug, comment, to_user) %]</[% comment_div FILTER none %]>
+ [% wrap = comment.is_markdown ? 0 : 1 %]
+ <[% comment_div FILTER none %] class="bz_comment_text">[% comment.body_full({ wrap => wrap }) FILTER markdown(bug, comment, to_user) %]</[% comment_div FILTER none %]>
</div>
[% END %]
</p>