=================================================================== RCS file: /cvs/mandoc/cgi.c,v retrieving revision 1.179 retrieving revision 1.180 diff -u -p -r1.179 -r1.180 --- mandoc/cgi.c 2022/07/06 16:05:40 1.179 +++ mandoc/cgi.c 2022/07/06 17:21:04 1.180 @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.179 2022/07/06 16:05:40 schwarze Exp $ */ +/* $Id: cgi.c,v 1.180 2022/07/06 17:21:04 schwarze Exp $ */ /* * Copyright (c) 2014-2019, 2021, 2022 Ingo Schwarze * Copyright (c) 2011, 2012 Kristaps Dzonsons @@ -444,13 +444,14 @@ resp_searchform(const struct req *req, enum focus focu /* Write query input box. */ - printf(" Search query:\n" + " q.query != NULL) html_print(req->q.query); - printf( "\" size=\"40\""); + printf("\" size=\"40\""); if (focus == FOCUS_QUERY) printf(" autofocus"); - puts(">"); + puts(">\n "); /* Write submission buttons. */ @@ -491,7 +492,8 @@ resp_searchform(const struct req *req, enum focus focu /* Write manpath selector. */ if (req->psz > 1) { - puts(" "); for (i = 0; i < (int)req->psz; i++) { printf(" q.manpath, req->p[i]) == 0)