summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-07 16:18:52 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-07 16:18:52 +0000
commitf40d4d67ed37254ccb32845fb816e03f5b43e921 (patch)
tree9907bb802c9d82d47a6c8f3f2fb2cf713f4934ce /cgi.c
parentf571e3813bff77e7998070e36b0d639923e7571d (diff)
downloadmandoc-f40d4d67ed37254ccb32845fb816e03f5b43e921.tar.gz
Tweak to make man.cgi's search results validate properly.
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgi.c b/cgi.c
index 15973339..026065f4 100644
--- a/cgi.c
+++ b/cgi.c
@@ -341,6 +341,7 @@ resp_searchform(const struct req *req)
html_print(progname);
printf("/search.html\" METHOD=\"get\">\n");
printf("<FIELDSET>\n"
+ "<LEGEND>Search Parameters</LEGEND>\n"
"<INPUT TYPE=\"submit\" NAME=\"op\" "
"VALUE=\"Whatis\"> or \n"
"<INPUT TYPE=\"submit\" NAME=\"op\" "
@@ -468,6 +469,8 @@ resp_search(struct res *r, size_t sz, void *arg)
puts("</TD></TR>");
}
+ puts("</TABLE>");
+
resp_end_html();
}