mothra: make text inside <td> bold

This commit is contained in:
cinap_lenrek 2015-09-08 19:23:23 +02:00
parent b143c1f411
commit d79754b4c8
3 changed files with 4 additions and 0 deletions

View file

@ -201,6 +201,7 @@ enum{
Tag_source,
Tag_table, /* rm 3.8.00 */
Tag_td,
Tag_th,
Tag_textarea,
Tag_title,
Tag_tr,

View file

@ -78,6 +78,7 @@ Tag tag[]={
[Tag_source] "source", NOEND,
[Tag_table] "table", END,
[Tag_td] "td", END,
[Tag_th] "th", END,
[Tag_textarea] "textarea", END,
[Tag_title] "title", END,
[Tag_tr] "tr", END,

View file

@ -838,6 +838,8 @@ void plrdhtml(char *name, int fd, Www *dst){
g.spacc=0;
g.linebrk=1;
break;
case Tag_th:
g.state->font=BOLD;
case Tag_td:
g.spacc++;
break;