diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-09-08 19:23:23 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-09-08 19:23:23 +0200 |
commit | d79754b4c8f2d23a4f27d9a889efd896bcbc8a2f (patch) | |
tree | 3d2ef83fc0a25d614c6dc6d74201c813f6e141a2 /sys/src/cmd/mothra | |
parent | b143c1f41190c9f8a6750f45b450533648afe460 (diff) |
mothra: make text inside <td> bold
Diffstat (limited to 'sys/src/cmd/mothra')
-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; |