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.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl
index 37252977a..c3b8b357f 100644
--- a/template/en/default/email/bugmail.html.tmpl
+++ b/template/en/default/email/bugmail.html.tmpl
@@ -27,7 +27,8 @@
on [% "$terms.bug $bug.id" FILTER bug_link(bug, { full_url => 1, user => to_user }) FILTER none %]
from [% INCLUDE global/user.html.tmpl user = to_user, who = comment.author %]</b>
[% END %]
- <pre>[% comment.body_full({ wrap => 1 }) FILTER markdown(bug, comment, to_user) %]</pre>
+ [% 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 %]>
</div>
[% END %]
</p>