summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Template.pm10
1 files changed, 9 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 04a4db204..7dfb5c539 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -402,7 +402,15 @@ sub create {
# as prefix. In addition it replaces a ' ' by a '_'.
css_class_quote => \&Bugzilla::Util::css_class_quote ,
- quoteUrls => \&::quoteUrls ,
+ quoteUrls => [ sub {
+ my ($context, $bug) = @_;
+ return sub {
+ my $text = shift;
+ return &::quoteUrls($text, $bug);
+ };
+ },
+ 1
+ ],
bug_link => [ sub {
my ($context, $bug) = @_;