From 769efc0422e582188cc5981492f486d5df5dc98b 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 | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'cgi.c') diff --git a/cgi.c b/cgi.c index 655dc82d..d219f307 100644 --- a/cgi.c +++ b/cgi.c @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.85 2014/07/25 16:56:06 schwarze Exp $ */ +/* $Id: cgi.c,v 1.86 2014/07/25 17:34:06 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -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("