about summary refs log tree commit homepage
diff options
context:
space:
mode:
-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 98d0219d..523d27fe 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -774,7 +774,7 @@ sub _inline_header {
         my $m = PublicInbox::Hval->new_msgid($mid);
         $m = $upfx . '../' . $m->as_href . '/';
         if (defined $s) {
-                $$dst .= "$pfx$dot<a\nhref=\"$m\">$s</a>$attr\n";
+                $$dst .= "$pfx$dot<a\nhref=\"$m\">$s</a> $attr\n";
         } else {
                 $$dst .= "$pfx$dot<a\nhref=\"$m\">$f</a>\n";
         }
@@ -791,7 +791,7 @@ sub inline_dump {
                 _inline_header($dst, $state, $upfx, $mime, $level);
         } else {
                 my $dot = $level == 0 ? '' : '` ';
-                my $pfx = length(' 1970-01-01 13:37 ') .
+                my $pfx = (' ' x length(' 1970-01-01 13:37 ')).
                         (INDENT x $level) . $dot;
                 $$dst .= $pfx;
                 $$dst .= ghost_parent("$upfx../", $node->messageid) . "\n";