diff options
author | Eric Wong <e@80x24.org> | 2014-10-05 00:23:43 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-10-05 00:23:43 +0000 |
commit | 12c24e42b7fa14925b31e7960e181c4621c9bf33 (patch) | |
tree | 95549f8e0856fcb00198d1c5c56edd9e86410cc2 | |
parent | 553f7053715ce9c7a5a3b8d7d9f4fb705b744559 (diff) | |
download | public-inbox-12c24e42b7fa14925b31e7960e181c4621c9bf33.tar.gz |
This reduces unnecessary white space and consistently places the attribution under the Subject.
-rw-r--r-- | lib/PublicInbox/View.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index d64aca40..9974cfa1 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -79,15 +79,15 @@ sub index_entry { $rv .= "$pfx<a\nname=\"$name\"></a>" . "<a\nname=\"s$midx\"></a>" . - "<b>$subj</b>\n" . - "$pfx<a\nhref=\"#s$next\">next</a>"; + "<b>$subj</b>\n$pfx"; + $rv .= "- by $from @ $ts - "; + + $rv .= "<a\nhref=\"#s$next\">next</a>"; if ($prev >= 0) { $rv .= "/<a\nhref=\"#s$prev\">prev</a>"; - } else { - $rv .= ' '; } - $rv .= " by $from @ $ts\n\n"; + $rv .= "\n\n"; my $irp = $header_obj->header_raw('In-Reply-To'); my ($anchor_idx, $anchor); |