summaryrefslogtreecommitdiffstats
path: root/template/en/default/email
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-08-14 14:28:31 +0200
committerGitHub <noreply@github.com>2018-08-14 14:28:31 +0200
commitec87e5310ad038abe4b2b329897638d866bf549a (patch)
tree08a5486b897f5321a4aafd04f1afbec19ca597d9 /template/en/default/email
parentea5beeacb185309572836cc60989f95ea4705f9d (diff)
downloadbugzilla-ec87e5310ad038abe4b2b329897638d866bf549a.tar.gz
bugzilla-ec87e5310ad038abe4b2b329897638d866bf549a.tar.xz
Revert "Bug 1456878 - Support markdown comments"
Diffstat (limited to 'template/en/default/email')
-rw-r--r--template/en/default/email/bugmail.html.tmpl7
1 files changed, 1 insertions, 6 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl
index cdcb3d13d..8b567b691 100644
--- a/template/en/default/email/bugmail.html.tmpl
+++ b/template/en/default/email/bugmail.html.tmpl
@@ -38,12 +38,7 @@
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 %]
- [% IF comment.is_markdown %]
- [% comment_tag = 'div' %]
- [% ELSE %]
- [% comment_tag = 'pre' %]
- [% END %]
- <[% comment_tag FILTER none %]>[% comment.body_full({ wrap => 1 }) FILTER renderComment(bug, comment) %]</[% comment_tag FILTER none %]>
+ <pre>[% comment.body_full({ wrap => 1 }) FILTER quoteUrls(bug, comment, to_user) %]</pre>
</div>
[% END %]
</p>