]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
www_listing: add space after `input=text' in search field
authorEric Wong <e@80x24.org>
Wed, 26 Jun 2024 17:48:28 +0000 (17:48 +0000)
committerEric Wong <e@80x24.org>
Wed, 26 Jun 2024 22:35:32 +0000 (22:35 +0000)
Having an attribute value glued to an HTML closing tag may
cause problems with some parsers.

Reported-by: Cédric Hannotier <cedric.hannotier@ulb.be>
lib/PublicInbox/WwwListing.pm

index 2d6c74dafc527f821c2f4d553a0268b25c11217d..5681377f23b014bcb5d50d44226ba51af837ddaf 100644 (file)
@@ -179,7 +179,7 @@ sub mset_nav_top {
                $qh = qq[\nvalue="].ascii_html($qh).'"';
        }
        chop(my $rv = <<EOM);
-<form action="./"><pre><input name=q type=text$qh/><input
+<form action="./"><pre><input name=q type=text$qh /><input
 type=submit value="locate inbox"/><input type=submit name=a
 value="search all inboxes"/></pre></form><pre>
 EOM