about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-01-30 23:27:18 +0000
committerEric Wong <e@80x24.org>2016-01-30 23:27:18 +0000
commit38017321d47e14707d208c92e13c16e242c5d3f2 (patch)
tree168a0406882a13d8bd6168b18b105b2b69d19805 /lib
parent676bcacf7bbb42b92d82a573679ec15b08444c9f (diff)
downloadpublic-inbox-38017321d47e14707d208c92e13c16e242c5d3f2.tar.gz
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/View.pm1
1 files changed, 0 insertions, 1 deletions
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;