summaryrefslogtreecommitdiffstats
path: root/template/en/default/email/bugmail.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/email/bugmail.html.tmpl')
-rw-r--r--template/en/default/email/bugmail.html.tmpl7
1 files changed, 5 insertions, 2 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>