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

Diff for /mandoc/tbl_html.c between version 1.1 and 1.3

version 1.1, 2011/01/04 10:29:41 version 1.3, 2011/01/05 13:00:11
Line 32  print_tbl(struct html *h, const struct tbl_span *sp)
Line 32  print_tbl(struct html *h, const struct tbl_span *sp)
 {  {
         const struct tbl_head *hp;          const struct tbl_head *hp;
         const struct tbl_dat *dp;          const struct tbl_dat *dp;
         struct tag       *tt;          struct tag      *tt;
           struct htmlpair  tag;
   
         switch (sp->pos) {          switch (sp->pos) {
         case (TBL_SPAN_HORIZ):          case (TBL_SPAN_HORIZ):
Line 48  print_tbl(struct html *h, const struct tbl_span *sp)
Line 49  print_tbl(struct html *h, const struct tbl_span *sp)
         h->flags |= HTML_NONOSPACE;          h->flags |= HTML_NONOSPACE;
         h->flags |= HTML_NOSPACE;          h->flags |= HTML_NOSPACE;
   
         print_otag(h, TAG_TABLE, 0, NULL);          PAIR_CLASS_INIT(&tag, "tbl");
   
           print_otag(h, TAG_TABLE, 1, &tag);
         print_otag(h, TAG_TR, 0, NULL);          print_otag(h, TAG_TR, 0, NULL);
   
         dp = sp->first;          dp = sp->first;
Line 63  print_tbl(struct html *h, const struct tbl_span *sp)
Line 66  print_tbl(struct html *h, const struct tbl_span *sp)
                 }                  }
                 tt = print_otag(h, TAG_TD, 0, NULL);                  tt = print_otag(h, TAG_TD, 0, NULL);
                 if (dp) {                  if (dp) {
                         print_text(h, dp->string);                          if (dp->string)
                                   print_text(h, dp->string);
                         dp = dp->next;                          dp = dp->next;
                 }                  }
                 print_tagq(h, tt);                  print_tagq(h, tt);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

CVSweb