lib/PublicInbox/View.pm | 8 ++++---- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 0e65daca1c69eb9386b18fe628331ff73ee0bdd0..177a1a6f4cc0b10e786b003eebae59a257b1623c 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -30,7 +30,7 @@ my $hdr = $mime->header_obj; headers_to_html_header($hdr, $ctx) . multipart_text_as_html($mime) . '
' .
-		html_footer($hdr, 1, $ctx) .
+		html_footer($hdr, 1, $ctx, 'R/') .
 		$footer .
 		'
'; } @@ -139,7 +139,7 @@ $mime->walk_parts(sub { index_walk($fh, $_[0], $enc, \$part_nr); }); $mime->body_set(''); - $rv = "\n" . html_footer($hdr, 0, $ctx, $mhref); + $rv = "\n" . html_footer($hdr, 0, $ctx, "$path$href/R"); if (defined $irt) { unless (defined $parent_anchor) { @@ -498,7 +498,7 @@ (\@arg, $href); } sub html_footer { - my ($hdr, $standalone, $ctx, $mhref) = @_; + my ($hdr, $standalone, $ctx, $rhref) = @_; my $srch = $ctx->{srch} if $ctx; my $upfx = '../'; @@ -526,7 +526,7 @@ } else { $irt = ''; } - $irt . qq(reply) . $idx; + $irt . qq(reply) . $idx; } sub linkify_ref_nosrch {