=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/cgi.c,v retrieving revision 1.82 retrieving revision 1.83 diff -u -r1.82 -r1.83 --- src/usr.bin/mandoc/cgi.c 2017/01/19 13:55:49 1.82 +++ src/usr.bin/mandoc/cgi.c 2017/01/21 01:20:29 1.83 @@ -1,4 +1,4 @@ -/* $OpenBSD: cgi.c,v 1.82 2017/01/19 13:55:49 schwarze Exp $ */ +/* $OpenBSD: cgi.c,v 1.83 2017/01/21 01:20:29 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze @@ -492,9 +492,9 @@ resp_searchform(req, FOCUS_QUERY); printf("

\n" "This web interface is documented in the\n" - "man.cgi(8)\n" + "man.cgi(8)\n" "manual, and the\n" - "apropos(1)\n" + "apropos(1)\n" "manual explains the query syntax.\n" "

\n", scriptname, *scriptname == '\0' ? "" : "/", @@ -574,26 +574,21 @@ req->q.equal || sz == 1 ? FOCUS_NONE : FOCUS_QUERY); if (sz > 1) { - puts("
"); - puts(""); - + puts("
"); for (i = 0; i < sz; i++) { printf(" \n" - " \n" - " \n" + puts("\n" " "); } - - puts("
" - "" + "", scriptname, *scriptname == '\0' ? "" : "/", req->q.manpath, r[i].file); - printf("\">"); html_print(r[i].names); printf(""); + " "); html_print(r[i].output); - puts("
\n" - "
"); + puts(""); } /*