From 0bcf715b7ef1e51bf05eeb46b066be8a762e13aa Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 9 Jan 2016 09:45:20 +0000 Subject: hval: use more appropriate hvals for documentation Not needed, but this is good documentation. Some of these values should never have newlines. --- lib/PublicInbox/SearchView.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/SearchView.pm') diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index b3ddcb54..8f61b4f4 100644 --- a/lib/PublicInbox/SearchView.pm +++ b/lib/PublicInbox/SearchView.pm @@ -288,7 +288,7 @@ sub qs_html { $self = $tmp; } - my $q = PublicInbox::Hval->new($self->{q})->as_href; + my $q = PublicInbox::Hval->new_oneline($self->{q})->as_href; $q =~ s/%20/+/g; # improve URL readability my $qs = "q=$q"; -- cgit v1.2.3-24-ge0c7