lib/PublicInbox/View.pm | 15 +++++++++++---- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index de2d667c91f7612e30d4023e3d5131302caad6dc..7e1fb04573d42306fa162f92c0356edab7f78059 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -432,15 +432,19 @@ } $rv .= 'Message-ID: <' . $mid->as_html . '> '; my $upfx = $full_pfx ? '' : '../'; $rv .= "(raw)\n"; + my $atom; if ($srch) { $rv .= "References: [expand]\n"; + $atom = qq{!; } else { $rv .= _parent_headers_nosrch($header_obj); + $atom = ''; } $rv .= "\n"; ("". join(' - ', @title) . - '' . PRE_WRAP . $rv); + "$atom" . PRE_WRAP . $rv); } sub thread_inline { @@ -578,12 +582,15 @@ 'm' . $id; } sub thread_html_head { - my ($cb, $mime) = @_; + my ($cb, $header, $state) = @_; $$cb = $$cb->([200, ['Content-Type'=> 'text/html; charset=UTF-8']]); - my $s = PublicInbox::Hval->new_oneline($mime->header('Subject')); + my $s = PublicInbox::Hval->new_oneline($header->header('Subject')); $s = $s->as_html; - $$cb->write("$s"); + $$cb->write("$s". + qq{! . + ""); } sub pre_anchor_entry {