[BACK]Return to cgi.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/cgi.c between version 1.110 and 1.112

version 1.110, 2015/10/13 22:59:54 version 1.112, 2015/10/22 22:06:43
Line 33 
Line 33 
 #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 856  format(const struct req *req, const char *file)
Line 858  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);

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.112

CVSweb