]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: one line for thread subjects
authorEric Wong <e@80x24.org>
Fri, 4 Sep 2015 04:58:42 +0000 (04:58 +0000)
committerEric Wong <e@80x24.org>
Fri, 4 Sep 2015 04:58:42 +0000 (04:58 +0000)
We truncate subjects in the Xapian document anyways,
so lines should not be too long and it hopefully won't
throw off the vertical display.

lib/PublicInbox/View.pm

index bb3afda7f945e290d558b04f29d271c36c9aad1b..5c536228efb85271d0a8a82b5da91db68cb880d4 100644 (file)
@@ -722,8 +722,7 @@ sub _inline_header {
        my $m = PublicInbox::Hval->new_msgid($mid);
        $m = $upfx . '../' . $m->as_href . '/';
        if (defined $s) {
-               $$dst .= "$pfx` <a\nhref=\"$m\">$s</a>\n" .
-                        "$pfx  $f @ $d\n";
+               $$dst .= "$pfx` <a\nhref=\"$m\">$s</a> by $f @ $d\n";
        } else {
                $$dst .= "$pfx` <a\nhref=\"$m\">$f @ $d</a>\n";
        }