[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.35 and 1.37

version 1.35, 2021/05/16 23:18:35 version 1.37, 2021/09/09 14:47:24
Line 241  print_tbl(struct html *h, const struct tbl_span *sp)
Line 241  print_tbl(struct html *h, const struct tbl_span *sp)
                     "vertical-align", valign,                      "vertical-align", valign,
                     "text-align", halign,                      "text-align", halign,
                     "border-right-style", rborder);                      "border-right-style", rborder);
                 if (dp->string != NULL) {                  if (dp->layout->pos == TBL_CELL_HORIZ ||
                       dp->layout->pos == TBL_CELL_DHORIZ ||
                       dp->pos == TBL_DATA_HORIZ ||
                       dp->pos == TBL_DATA_DHORIZ)
                           print_otag(h, TAG_HR, "");
                   else if (dp->string != NULL) {
                         save_font = h->metac;                          save_font = h->metac;
                         if (dp->layout->flags & TBL_CELL_BOLD)                          html_setfont(h, dp->layout->font);
                                 html_setfont(h, ESCAPE_FONTBOLD);  
                         else if (dp->layout->flags & TBL_CELL_ITALIC)  
                                 html_setfont(h, ESCAPE_FONTITALIC);  
                         if (dp->layout->pos == TBL_CELL_LONG)                          if (dp->layout->pos == TBL_CELL_LONG)
                                 print_text(h, "\\[u2003]");  /* em space */                                  print_text(h, "\\[u2003]");  /* em space */
                         print_text(h, dp->string);                          print_text(h, dp->string);

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.37

CVSweb