version 1.34, 2021/05/16 18:11:20 |
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); |
if (dp->layout->pos == TBL_CELL_LONG) |
else if (dp->layout->flags & TBL_CELL_ITALIC) |
print_text(h, "\\[u2003]"); /* em space */ |
html_setfont(h, ESCAPE_FONTITALIC); |
|
print_text(h, dp->string); |
print_text(h, dp->string); |
html_setfont(h, save_font); |
html_setfont(h, save_font); |
} |
} |