]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Feed.pm
www: use <hr> to delimit messages in /new.html view, too
[public-inbox.git] / lib / PublicInbox / Feed.pm
index a697a4326fcaefcb64f2be0a17432f71cd1a2163..240c336f72d96e7ef1714e5fd57cf4c7d8e673d4 100644 (file)
@@ -59,12 +59,12 @@ sub new_html {
        }
        $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);