From: Don Armstrong
Date: Sun, 2 Jul 2017 17:02:48 +0000 (-0700)
Subject: include links to anchors of html messages too
X-Git-Tag: release/2.6.0~115
X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=f3d363c90dc8253057b4ac91b78690b5b28a95b0
include links to anchors of html messages too
---
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";
}
@@ -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,