From aef9ce78eca5f7a0dae98d67af8fb72ebd1fafb7 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 30 Sep 2009 23:42:49 +0000 Subject: Bug 364254: Add hook to Bugzilla::Template::quoteUrls Patch by Max Kanat-Alexander r=dkl, a=mkanat --- template/en/default/bug/comments.html.tmpl | 2 +- template/en/default/bug/edit.html.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 177c6f985..2f9eeebf6 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -222,7 +222,7 @@ [% END %]
-  [%- wrapped_comment FILTER quoteUrls(bug.bug_id, comment.already_wrapped) -%]
+  [%- wrapped_comment FILTER quoteUrls(bug, comment) -%]
 
[% END %] diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index e050ee64c..d8a7fa4d7 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -312,7 +312,7 @@ ([% bug.alias FILTER html %]) [% END %] [% END %] - [% bug.short_desc FILTER quoteUrls(bug.bug_id) %] + [% bug.short_desc FILTER quoteUrls(bug) %] [% IF bug.check_can_change_field('short_desc', 0, 1) || bug.check_can_change_field('alias', 0, 1) %] (edit) -- cgit v1.2.3-24-g4f1b