From: schwarze Date: Fri, 25 Jul 2014 17:33:51 +0000 (+0000) Subject: Even though this is not XHTML yet, remove some gratuitious violations X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d56ca21940a2cafca332f40d62ebe0a25b70571d;p=openbsd Even though this is not XHTML yet, remove some gratuitious violations of XHTML syntax. Also add some cosmetic newlines to the HTML code. --- diff --git a/usr.bin/mandoc/cgi.c b/usr.bin/mandoc/cgi.c index 8e4c07b0a24..613570c08bd 100644 --- a/usr.bin/mandoc/cgi.c +++ b/usr.bin/mandoc/cgi.c @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.25 2014/07/25 16:55:40 schwarze Exp $ */ +/* $Id: cgi.c,v 1.26 2014/07/25 17:33:51 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -451,19 +451,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" ""); @@ -473,13 +473,13 @@ resp_searchform(const struct req *req) printf( ""); @@ -492,7 +492,7 @@ resp_searchform(const struct req *req) printf("