diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-09-27 11:17:36 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-09-27 11:17:36 +0000 |
commit | ceda3deb120dcdb8fdcaf2c2e2dc8804e306c115 (patch) | |
tree | 0ec256003ec83ea91443aee28b2954034eab4930 /cgi.c | |
parent | 86875efb7e6c423982e1c28043040c4954cf81f1 (diff) | |
download | mandoc-ceda3deb120dcdb8fdcaf2c2e2dc8804e306c115.tar.gz |
Modify man.cgi to use HTML5.
Diffstat (limited to 'cgi.c')
-rw-r--r-- | cgi.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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\"" |