Bug 1142365: Don't use <pre> for markdown comments in email
r=glob,a=glob git-svn-id: svn://10.0.0.236/trunk@265893 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a95e4cef08
commit
5c17fd886b
@ -1 +1 @@
|
||||
9347
|
||||
9348
|
||||
@ -1 +1 @@
|
||||
7559020b6e10103849bd7eb2302d7a60b5b0b0b8
|
||||
2c82105b0fed5d6739111c5de8dba063b01ab446
|
||||
@ -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>
|
||||
|
||||
@ -72,7 +72,8 @@
|
||||
[% ELSE %]
|
||||
<b>Description:</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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user