From cba77da50eb3d171a32e2a43937cb2edf7c79bb2 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 25 Jul 2014 17:34:06 +0000 Subject: Even though this is not XHTML yet, remove some gratuitious violations of XHTML syntax. Also add some cosmetic newlines to the HTML code. --- cgi.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'cgi.c') diff --git a/cgi.c b/cgi.c index 86acf215..c3793f2e 100644 --- a/cgi.c +++ b/cgi.c @@ -455,19 +455,19 @@ resp_searchform(const struct req *req) printf( "\n" "q.equal) - printf("CHECKED "); + printf("CHECKED=\"checked\" "); printf( "NAME=\"apropos\" ID=\"show\" VALUE=\"0\">\n" "\n"); /* Write section selector. */ - printf( "\n" + puts( "\n" ""); @@ -477,13 +477,13 @@ resp_searchform(const struct req *req) printf( ""); @@ -496,7 +496,7 @@ resp_searchform(const struct req *req) printf("