[BACK]Return to tbl_html.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/tbl_html.c between version 1.14 and 1.15

version 1.14, 2017/01/17 01:47:46 version 1.15, 2017/02/05 18:13:28
Line 48 
Line 48 
 static void  static void
 html_tblopen(struct html *h, const struct tbl_span *sp)  html_tblopen(struct html *h, const struct tbl_span *sp)
 {  {
           struct tag      *t;
         int              ic;          int              ic;
   
         if (h->tbl.cols == NULL) {          if (h->tbl.cols == NULL) {
Line 59 
Line 60 
         assert(NULL == h->tblt);          assert(NULL == h->tblt);
         h->tblt = print_otag(h, TAG_TABLE, "c", "tbl");          h->tblt = print_otag(h, TAG_TABLE, "c", "tbl");
   
           t = print_otag(h, TAG_COLGROUP, "");
         for (ic = 0; ic < sp->opts->cols; ic++)          for (ic = 0; ic < sp->opts->cols; ic++)
                 print_otag(h, TAG_COL, "shw", h->tbl.cols[ic].width);                  print_otag(h, TAG_COL, "shw", h->tbl.cols[ic].width);
           print_tagq(h, t);
         print_otag(h, TAG_TBODY, "");  
 }  }
   
 void  void

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15