diff options
author | Eric Wong <e@80x24.org> | 2015-12-26 01:14:27 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-12-26 01:16:45 +0000 |
commit | 5d6c424d03a4057b129f4e5e099e378376a63e85 (patch) | |
tree | 9e5d440e69582aaa67e764b7a9968159e07cdbce /lib | |
parent | b07c77aa98b39fcbaee7316021e341c868416a09 (diff) | |
download | public-inbox-5d6c424d03a4057b129f4e5e099e378376a63e85.tar.gz |
Oops, we've had this forever and we also lacked a space between the this was noticed while adding an extra line between the "Search results ordered by" header and actual messages.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/SearchView.pm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index 994bf0db..8751fca2 100644 --- a/lib/PublicInbox/SearchView.pm +++ b/lib/PublicInbox/SearchView.pm @@ -43,13 +43,13 @@ sub sres_top_html { my $x = $q->{x}; return sub { adump($_[0], $mset, $q, $ctx) } if ($x eq 'A'); - $res .= search_nav_top($mset, $q); + $res .= search_nav_top($mset, $q) . "\n\n"; if ($x eq 't') { return sub { tdump($_[0], $res, $mset, $q, $ctx) }; } - $res .= "\n\n"; dump_mset(\$res, $mset); - $res .= search_nav_bot($mset, $q) . "\n\n" . foot($ctx); + $res .= '</pre>' . search_nav_bot($mset, $q) . + "\n\n" . foot($ctx); } $res .= "</pre></body></html>"; @@ -111,8 +111,7 @@ sub search_nav_top { $rv .= qq{<b>threaded</b>}; } my $A = $q->qs_html(x => 'A', r => undef); - $rv .= qq{|<a\nhref="?$A">Atom</a>}; - $rv .= ']'; + $rv .= qq{|<a\nhref="?$A">Atom</a>]}; } sub search_nav_bot { |