diff options
| -rw-r--r-- | sys/src/cmd/mothra/html.h | 1 | ||||
| -rw-r--r-- | sys/src/cmd/mothra/html.syntax.c | 1 | ||||
| -rw-r--r-- | sys/src/cmd/mothra/rdhtml.c | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/sys/src/cmd/mothra/html.h b/sys/src/cmd/mothra/html.h index dfb442c08..d15b0604c 100644 --- a/sys/src/cmd/mothra/html.h +++ b/sys/src/cmd/mothra/html.h @@ -201,6 +201,7 @@ enum{ Tag_source, Tag_table, /* rm 3.8.00 */ Tag_td, + Tag_th, Tag_textarea, Tag_title, Tag_tr, diff --git a/sys/src/cmd/mothra/html.syntax.c b/sys/src/cmd/mothra/html.syntax.c index c9065bc55..1cb3f3eb9 100644 --- a/sys/src/cmd/mothra/html.syntax.c +++ b/sys/src/cmd/mothra/html.syntax.c @@ -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, diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c index bbb3f7103..940e93036 100644 --- a/sys/src/cmd/mothra/rdhtml.c +++ b/sys/src/cmd/mothra/rdhtml.c @@ -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; |
