diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-07 16:18:52 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-07 16:18:52 +0000 |
commit | f40d4d67ed37254ccb32845fb816e03f5b43e921 (patch) | |
tree | 9907bb802c9d82d47a6c8f3f2fb2cf713f4934ce /cgi.c | |
parent | f571e3813bff77e7998070e36b0d639923e7571d (diff) | |
download | mandoc-f40d4d67ed37254ccb32845fb816e03f5b43e921.tar.gz |
Tweak to make man.cgi's search results validate properly.
Diffstat (limited to 'cgi.c')
-rw-r--r-- | cgi.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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(); } |