}
$ctx->{-html_tip} = '<pre>';
$ctx->{-upfx} = '';
+ $ctx->{-hr} = 1;
PublicInbox::WwwStream->response($ctx, 200, sub {
while (my $path = shift @paths) {
my $m = do_cat_mail($ctx->{-inbox}, $path) or next;
my $more = scalar @paths;
my $s = PublicInbox::View::index_entry($m, $ctx, $more);
- $s .= '</pre>' unless $more;
return $s;
}
new_html_footer($ctx, $last);
$rv .= "\t[<a\nhref=\"${mhref}T/#u\">$flat</a>";
$rv .= "|<a\nhref=\"${mhref}t/#u\">$threaded</a>]";
$rv .= " <a\nhref=#r$id>$ctx->{s_nr}</a>";
+ } else {
+ $hr = $ctx->{-hr};
}
$rv .= $more ? '</pre><hr><pre>' : '</pre>' if $hr;