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

Diff for /mandoc/mdoc_html.c between version 1.251 and 1.252

version 1.251, 2017/01/19 01:00:14 version 1.252, 2017/01/19 13:35:02
Line 299  void
Line 299  void
 html_mdoc(void *arg, const struct roff_man *mdoc)  html_mdoc(void *arg, const struct roff_man *mdoc)
 {  {
         struct html     *h;          struct html     *h;
         struct tag      *t, *tt;          struct tag      *t;
   
         h = (struct html *)arg;          h = (struct html *)arg;
   
         if ( ! (HTML_FRAGMENT & h->oflags)) {          if ((h->oflags & HTML_FRAGMENT) == 0) {
                 print_gen_decls(h);                  print_gen_decls(h);
                 t = print_otag(h, TAG_HTML, "");                  print_otag(h, TAG_HTML, "");
                 tt = print_otag(h, TAG_HEAD, "");                  t = print_otag(h, TAG_HEAD, "");
                 print_mdoc_head(&mdoc->meta, mdoc->first->child, h);                  print_mdoc_head(&mdoc->meta, mdoc->first->child, h);
                 print_tagq(h, tt);                  print_tagq(h, t);
                 print_otag(h, TAG_BODY, "");                  print_otag(h, TAG_BODY, "");
                 print_otag(h, TAG_DIV, "c", "mandoc");          }
         } else  
                 t = print_otag(h, TAG_DIV, "c", "mandoc");  
   
         mdoc_root_pre(&mdoc->meta, mdoc->first->child, h);          mdoc_root_pre(&mdoc->meta, mdoc->first->child, h);
         print_mdoc_nodelist(&mdoc->meta, mdoc->first->child, h);          print_mdoc_nodelist(&mdoc->meta, mdoc->first->child, h);
         mdoc_root_post(&mdoc->meta, mdoc->first->child, h);          mdoc_root_post(&mdoc->meta, mdoc->first->child, h);
         print_tagq(h, t);          print_tagq(h, NULL);
 }  }
   
 static void  static void

Legend:
Removed from v.1.251  
changed lines
  Added in v.1.252

CVSweb