From f3d363c90dc8253057b4ac91b78690b5b28a95b0 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 2 Jul 2017 10:02:48 -0700 Subject: [PATCH] include links to anchors of html messages too --- Debbugs/CGI/Bugreport.pm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Debbugs/CGI/Bugreport.pm b/Debbugs/CGI/Bugreport.pm index 1c0a40d..ce1bd30 100644 --- a/Debbugs/CGI/Bugreport.pm +++ b/Debbugs/CGI/Bugreport.pm @@ -27,6 +27,7 @@ None known. use warnings; use strict; +use utf8; use vars qw($VERSION $DEBUG %EXPORT_TAGS @EXPORT_OK @EXPORT); use Exporter qw(import); @@ -415,17 +416,18 @@ sub handle_record{ if (defined $time) { $output .= ' ('.strftime('%a, %d %b %Y %T GMT',gmtime($time)).') '; } - $output .= '

$bug_number, options => {msg => ($msg_number+1)}, links_only => 1, ) - ) . '">Full text and full text, rfc822 format available.'; + ) . '">mbox, '. + qq{link).

}; $output = qq(

\n\n) . $output . "

\n"; } @@ -438,7 +440,7 @@ sub handle_record{ $$seen_msg_ids{$msg_id} = 1; } return () if defined $param{spam} and $param{spam}->is_spam($msg_id); - $output .= qq(

\n); + $output .= qq(


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

'; $output .= handle_email_message($record, ref => $bug_number, -- 2.39.2