diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-22 22:06:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-22 22:06:43 +0000 |
commit | 70f6797983dbee0f8e271c9e7e706b473dcfb77c (patch) | |
tree | ba3717164d90348506bac182fa6fbf412db8937f /cgi.c | |
parent | 54ffa6b6bcb97f97cc0a3604078eb63aa8c759ef (diff) | |
download | mandoc-70f6797983dbee0f8e271c9e7e706b473dcfb77c.tar.gz |
use the new function man_validate() here, too
Diffstat (limited to 'cgi.c')
-rw-r--r-- | cgi.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -34,6 +34,7 @@ #include "mandoc.h" #include "roff.h" #include "mdoc.h" +#include "man.h" #include "main.h" #include "manconf.h" #include "mansearch.h" @@ -860,8 +861,10 @@ format(const struct req *req, const char *file) if (man->macroset == MACROSET_MDOC) { mdoc_validate(man); html_mdoc(vp, man); - } else + } else { + man_validate(man); html_man(vp, man); + } html_free(vp); mparse_free(mp); |