From: Don Armstrong Date: Fri, 8 Aug 2008 18:40:44 +0000 (-0700) Subject: * Switch from bug_url to bug_links X-Git-Tag: release/2.6.0~488^2~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6a5422078d49a2ce57eb4da540c41b8e0f6789fe;p=debbugs.git * Switch from bug_url to bug_links --- diff --git a/Debbugs/CGI/Bugreport.pm b/Debbugs/CGI/Bugreport.pm index cb1f48cf..f86b2fc4 100644 --- a/Debbugs/CGI/Bugreport.pm +++ b/Debbugs/CGI/Bugreport.pm @@ -245,10 +245,7 @@ sub display_entity { $body =~ s[(closes:\s*(?:bug)?\#?\s?\d+(?:,?\s*(?:bug)?\#?\s?\d+)*)] [my $temp = $1; $temp =~ s{(\d+)} - {qq($1) - }ge; + {bug_links(bug=>$1)}ge; $temp;]gxie; if (not exists $param{att}) { @@ -332,8 +329,8 @@ sub handle_record{ if (defined $time) { $output .= ' ('.strftime('%a, %d %b %Y %T GMT',gmtime($time)).') '; } - $output .= 'Full text and rfc822 format available.'; + $output .= 'Full text and rfc822 format available.'; $output = qq(

\n\n) . $output . "
\n"; } @@ -346,7 +343,7 @@ sub handle_record{ $$seen_msg_ids{$msg_id} = 1; } $output .= qq(

\n); - $output .= 'View this message in rfc822 format

'; + $output .= 'View this message in rfc822 format

'; $output .= handle_email_message($record->{text}, ref => $bug_number, msg_num => $msg_number,