my $mhref = "${path}$href/";
# show full message if it's our root message
- if ($root_anchor ne $id) {
+ if ($root_anchor ne $id || ($level != 0 && !$ctx->{flat})) {
$fhref = "${path}$href/f/";
$more_ref = \$more;
}
if ($srch) {
if ($header_obj->header('In-Reply-To') ||
$header_obj->header('References')) {
- $rv .= "<a\nhref=\"${upfx}t/\">" .
+ $rv .= "<a\nhref=\"${upfx}t/#u\">" .
"References: [expand]</a>\n";
}
my $cc = uri_escape_utf8(join(',', sort values %cc));
my $href = "mailto:$to?In-Reply-To=$irt&Cc=${cc}&Subject=$subj";
+ $href =~ s/%20/+/g;
my $srch = $ctx->{srch} if $ctx;
my $upfx = $full_pfx ? '../' : '../../';