summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Pyrzak <guy.pyrzak@gmail.com>2010-10-14 02:18:06 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-10-14 02:18:06 +0200
commit7995b869843b68a9a163ebcb4ddfc3ab40b27c8c (patch)
treec275b8dc6c031157b460c20b37bdf9f71c3d6c04
parentf2d5af261b95310c2fb7d0565222c211998bff4f (diff)
downloadbugzilla-7995b869843b68a9a163ebcb4ddfc3ab40b27c8c.tar.gz
bugzilla-7995b869843b68a9a163ebcb4ddfc3ab40b27c8c.tar.xz
Bug 326826: Linkify bug comments in HTML email just like comments in the
web interface. r=mkanat, a=mkanat
-rw-r--r--template/en/default/email/bugmail.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl
index 888d47bc4..9d6fa5982 100644
--- a/template/en/default/email/bugmail.html.tmpl
+++ b/template/en/default/email/bugmail.html.tmpl
@@ -23,7 +23,7 @@
[% isnew = bug.lastdiffed ? 0 : 1 %]
<html>
<head>
- <base href="[% %]" />
+ <base href="[% urlbase FILTER html %]" />
</head>
<body>
[% PROCESS generate_diffs %]
@@ -35,7 +35,7 @@
{comment_num => comment.count, full_url => 1}) FILTER none %]
from [% INCLUDE global/user.html.tmpl who = comment.author %]</b>
[% END %]
- <pre>[% comment.body_full({ wrap => 1 }) FILTER html %]</pre>
+ <pre>[% comment.body_full({ wrap => 1 }) FILTER quoteUrls(bug, comment) %]</pre>
</div>
[% END %]
</p>