summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 11:17:36 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 11:17:36 +0000
commitceda3deb120dcdb8fdcaf2c2e2dc8804e306c115 (patch)
tree0ec256003ec83ea91443aee28b2954034eab4930
parent86875efb7e6c423982e1c28043040c4954cf81f1 (diff)
downloadmandoc-ceda3deb120dcdb8fdcaf2c2e2dc8804e306c115.tar.gz
Modify man.cgi to use HTML5.
-rw-r--r--cgi.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/cgi.c b/cgi.c
index f02677a4..ac4a727e 100644
--- a/cgi.c
+++ b/cgi.c
@@ -376,13 +376,10 @@ resp_begin_html(int code, const char *msg)
resp_begin_http(code, msg);
- printf("<!DOCTYPE HTML PUBLIC "
- " \"-//W3C//DTD HTML 4.01//EN\""
- " \"http://www.w3.org/TR/html4/strict.dtd\">\n"
+ printf("<!DOCTYPE html>\n"
"<HTML>\n"
"<HEAD>\n"
- "<META HTTP-EQUIV=\"Content-Type\""
- " CONTENT=\"text/html; charset=utf-8\">\n"
+ "<META CHARSET=\"UTF-8\" />\n"
"<LINK REL=\"stylesheet\" HREF=\"%s/man-cgi.css\""
" TYPE=\"text/css\" media=\"all\">\n"
"<LINK REL=\"stylesheet\" HREF=\"%s/man.css\""