]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 326826: Linkify bug comments in HTML email just like comments in the
authorGuy Pyrzak <guy.pyrzak@gmail.com>
Thu, 14 Oct 2010 00:18:06 +0000 (17:18 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Thu, 14 Oct 2010 00:18:06 +0000 (17:18 -0700)
web interface.
r=mkanat, a=mkanat

template/en/default/email/bugmail.html.tmpl

index 888d47bc4d89f6a9929f288f74cb38a0df145911..9d6fa5982ba974ca5425f6ac6051bd4c3054ad41 100644 (file)
@@ -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>