mothra: make text inside <td> bold
This commit is contained in:
parent
b143c1f411
commit
d79754b4c8
3 changed files with 4 additions and 0 deletions
|
@ -201,6 +201,7 @@ enum{
|
|||
Tag_source,
|
||||
Tag_table, /* rm 3.8.00 */
|
||||
Tag_td,
|
||||
Tag_th,
|
||||
Tag_textarea,
|
||||
Tag_title,
|
||||
Tag_tr,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue