From 2ebb84291955ea5b1f5bf35b9fb7760dddaec5e0 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 10 Jan 2006 02:59:53 +0000 Subject: Bug 238207: Comment autolinkification on midair page points to wrong cgi - Patch by Olav Vitters r=LpSolit a=justdave --- Bugzilla/Template.pm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Template.pm') 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) = @_; -- cgit v1.2.3-24-g4f1b