about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-08-06 21:00:40 +0000
committerEric Wong <e@80x24.org>2016-08-06 21:03:22 +0000
commit95a438465b81a89b687ac0c2cabce54a300140a9 (patch)
treeaa890dea1f818969ecb057dbff97a51c432c5410 /lib/PublicInbox/Feed.pm
parentd9732203aa53d1fd7b3ba5fae415d3ac003937a0 (diff)
downloadpublic-inbox-95a438465b81a89b687ac0c2cabce54a300140a9.tar.gz
www: use <hr> to delimit messages in /new.html view, too
This is necessary to delimit messages when viewed without
threading.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index a697a432..240c336f 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -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);