version 1.110, 2015/10/13 22:59:54 |
version 1.113, 2015/11/05 17:47:51 |
|
|
#include "mandoc_aux.h" |
#include "mandoc_aux.h" |
#include "mandoc.h" |
#include "mandoc.h" |
#include "roff.h" |
#include "roff.h" |
|
#include "mdoc.h" |
|
#include "man.h" |
#include "main.h" |
#include "main.h" |
#include "manconf.h" |
#include "manconf.h" |
#include "mansearch.h" |
#include "mansearch.h" |
Line 375 resp_begin_html(int code, const char *msg) |
|
Line 377 resp_begin_html(int code, const char *msg) |
|
"<HTML>\n" |
"<HTML>\n" |
"<HEAD>\n" |
"<HEAD>\n" |
"<META CHARSET=\"UTF-8\" />\n" |
"<META CHARSET=\"UTF-8\" />\n" |
"<LINK REL=\"stylesheet\" HREF=\"%s/man-cgi.css\"" |
"<LINK REL=\"stylesheet\" HREF=\"%s/mandoc.css\"" |
" TYPE=\"text/css\" media=\"all\">\n" |
" TYPE=\"text/css\" media=\"all\">\n" |
"<LINK REL=\"stylesheet\" HREF=\"%s/man.css\"" |
|
" TYPE=\"text/css\" media=\"all\">\n" |
|
"<TITLE>%s</TITLE>\n" |
"<TITLE>%s</TITLE>\n" |
"</HEAD>\n" |
"</HEAD>\n" |
"<BODY>\n" |
"<BODY>\n" |
"<!-- Begin page content. //-->\n", |
"<!-- Begin page content. //-->\n", |
CSS_DIR, CSS_DIR, CUSTOMIZE_TITLE); |
CSS_DIR, CUSTOMIZE_TITLE); |
} |
} |
|
|
static void |
static void |
Line 856 format(const struct req *req, const char *file) |
|
Line 856 format(const struct req *req, const char *file) |
|
|
|
vp = html_alloc(&conf); |
vp = html_alloc(&conf); |
|
|
if (man->macroset == MACROSET_MDOC) |
if (man->macroset == MACROSET_MDOC) { |
|
mdoc_validate(man); |
html_mdoc(vp, man); |
html_mdoc(vp, man); |
else |
} else { |
|
man_validate(man); |
html_man(vp, man); |
html_man(vp, man); |
|
} |
|
|
html_free(vp); |
html_free(vp); |
mparse_free(mp); |
mparse_free(mp); |