From: Eric Wong Date: Sat, 30 Jan 2016 23:27:18 +0000 (+0000) Subject: view: do not kill whitespace in permalink thread timestamp X-Git-Tag: v1.0.0~738 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=38017321d47e14707d208c92e13c16e242c5d3f2;p=public-inbox.git view: do not kill whitespace in permalink thread timestamp There's no need to HTML escape a timestamp we generate ourselves. We need to preserve the leading space and can't use the "oneline" semantics to preserve alignment. --- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index be186333..e72243be 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -772,7 +772,6 @@ sub _inline_header { my $f = $mime->header('X-PI-From'); my $d = _msg_date($mime); $f = PublicInbox::Hval->new_oneline($f)->as_html; - $d = PublicInbox::Hval->new_oneline($d)->as_html; my $pfx = ' ' . $d . ' ' . indent_for($level); my $attr = $f; $state->{first_level} ||= $level;