diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-15 12:18:57 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-15 12:18:57 +0000 |
commit | ad2be0f50980d3f8e7c4335309dba96df1ec26cc (patch) | |
tree | cad07ebd96a0086dfde34f0b70db90bd13e89b5d /cgi.c | |
parent | 9dbf33f402f3c39d595cd5f42b83734aacf35ac4 (diff) | |
download | mandoc-ad2be0f50980d3f8e7c4335309dba96df1ec26cc.tar.gz |
Further tweaks for output consistency.
Diffstat (limited to 'cgi.c')
-rw-r--r-- | cgi.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -497,6 +497,8 @@ resp_search(struct res *r, size_t sz, void *arg) resp_begin_html(200, NULL); resp_searchform(req); + puts("<DIV CLASS=\"results\">"); + if (0 == sz) { printf("<P>\n" "No %s results found.\n", @@ -512,12 +514,12 @@ resp_search(struct res *r, size_t sz, void *arg) puts("\">apropos</A>?)"); } puts("</P>"); + puts("</DIV>"); resp_end_html(); return; } - puts("<P></P>\n" - "<TABLE>"); + puts("<TABLE>"); for (i = 0; i < (int)sz; i++) { printf("<TR>\n" @@ -540,7 +542,8 @@ resp_search(struct res *r, size_t sz, void *arg) "</TR>"); } - puts("</TABLE>"); + puts("</TABLE>\n" + "</DIV>"); resp_end_html(); } |