From 5d6c424d03a4057b129f4e5e099e378376a63e85 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 26 Dec 2015 01:14:27 +0000 Subject: searchview: fix unclosed tags in threaded search results 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. --- lib/PublicInbox/SearchView.pm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib') 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 .= '' . search_nav_bot($mset, $q) . + "\n\n" . foot($ctx); } $res .= ""; @@ -111,8 +111,7 @@ sub search_nav_top { $rv .= qq{threaded}; } my $A = $q->qs_html(x => 'A', r => undef); - $rv .= qq{|Atom}; - $rv .= ']'; + $rv .= qq{|Atom]}; } sub search_nav_bot { -- cgit v1.2.3-24-ge0c7