about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-08-05 18:10:50 +0000
committerEric Wong <e@80x24.org>2016-08-05 18:12:03 +0000
commit6ef9b216156c4bea4bbdd3e0bed3caf85e59a520 (patch)
treef62777dcae8749ca30b68360d172b641ff276b76 /lib
parentaf65e06b3ba65952f1223e09b9df0736965bdaeb (diff)
downloadpublic-inbox-6ef9b216156c4bea4bbdd3e0bed3caf85e59a520.tar.gz
view: use <hr> to delineate in /$MID/T/ view
The sacrifice in vertical space might be worth it to improve
ease-of-reading, as it's unreasonable to expect an entire
message thread to be able to fit into a single window.

https://public-inbox.org/git/20160805093544.scvl4yshkfg2l26p@sigill.intra.peff.net/

Cc: Jeff King <peff@peff.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/View.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index db0cdc0e..e150a015 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -180,7 +180,7 @@ sub index_entry {
                 $rv .= " <a\nhref=#r$id>$ctx->{s_nr}</a>";
         }
 
-        $rv .= $more ? "\n\n" : "\n";
+        $rv .= $more ? '</pre><hr><pre>' : '</pre>';
 }
 
 sub pad_link ($$;$) {