about summary refs log tree commit homepage
path: root/lib/PublicInbox/View.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-21 01:29:03 +0000
committerEric Wong <e@80x24.org>2015-08-21 01:29:31 +0000
commit6a8f5c169911d1ee9338bb77a3d5302deb86fdb4 (patch)
tree510e718ef2b5349ada8ad36296304ce7bc0a4290 /lib/PublicInbox/View.pm
parentfb2c47dec5cc14ffb1748af20b36740576d12059 (diff)
downloadpublic-inbox-6a8f5c169911d1ee9338bb77a3d5302deb86fdb4.tar.gz
It's a bit disconcerting to jump to the authorship line.
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r--lib/PublicInbox/View.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 96f632a6..4ed5344e 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -100,10 +100,10 @@ sub index_entry {
         if ($level) {
                 $rv .= '<td><pre>' . ('  ' x $level) . '</pre></td>';
         }
-        $rv .= '<td>' . PRE_WRAP;
+        $rv .= "<td\nid=s$midx>" . PRE_WRAP;
         $rv .= "<b\nid=\"$id\">$subj</b>\n";
         $rv .= "- by $from @ $ts UTC - ";
-        $rv .= "<a\nid=\"s$midx\"\nhref=\"#s$next\">next</a>";
+        $rv .= "<a\nhref=\"#s$next\">next</a>";
         if ($prev >= 0) {
                 $rv .= "/<a\nhref=\"#s$prev\">prev</a>";
         }