Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
2c82105b
Commit
2c82105b
authored
Mar 24, 2015
by
Albert Ting
Committed by
Byron Jones
Mar 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1142365: Don't use <pre> for markdown comments in email
r=glob,a=glob
parent
7559020b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
bugmail.html.tmpl
template/en/default/email/bugmail.html.tmpl
+2
-1
flagmail.html.tmpl
template/en/default/email/flagmail.html.tmpl
+2
-1
No files found.
template/en/default/email/bugmail.html.tmpl
View file @
2c82105b
...
@@ -27,7 +27,8 @@
...
@@ -27,7 +27,8 @@
on [% "$terms.bug $bug.id" FILTER bug_link(bug, { full_url => 1, user => to_user }) FILTER none %]
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>
from [% INCLUDE global/user.html.tmpl user = to_user, who = comment.author %]
</b>
[% END %]
[% 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>
</div>
[% END %]
[% END %]
</p>
</p>
...
...
template/en/default/email/flagmail.html.tmpl
View file @
2c82105b
...
@@ -72,7 +72,8 @@
...
@@ -72,7 +72,8 @@
[% ELSE %]
[% ELSE %]
<b>
Description:
</b>
<b>
Description:
</b>
[% END %]
[% 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>
</div>
[% END %]
[% END %]
</p>
</p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment