diff options
| -rw-r--r-- | sys/src/cmd/mothra/html.h | 1 | ||||
| -rw-r--r-- | sys/src/cmd/mothra/html.syntax.c | 3 | ||||
| -rw-r--r-- | sys/src/cmd/mothra/rdhtml.c | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/sys/src/cmd/mothra/html.h b/sys/src/cmd/mothra/html.h index 7654845a3..35db0de35 100644 --- a/sys/src/cmd/mothra/html.h +++ b/sys/src/cmd/mothra/html.h @@ -176,6 +176,7 @@ enum{ Tag_samp, Tag_script, Tag_select, + Tag_span, Tag_strong, Tag_style, Tag_source, diff --git a/sys/src/cmd/mothra/html.syntax.c b/sys/src/cmd/mothra/html.syntax.c index b043b3f92..87e44016d 100644 --- a/sys/src/cmd/mothra/html.syntax.c +++ b/sys/src/cmd/mothra/html.syntax.c @@ -25,7 +25,7 @@ Tag tag[]={ [Tag_dd] "dd", NOEND, /* OPTEND */ [Tag_dfn] "dfn", END, [Tag_dir] "dir", END, -[Tag_div] "div", NOEND, /* OPTEND */ +[Tag_div] "div", END, /* OPTEND */ [Tag_dl] "dl", END, [Tag_dt] "dt", NOEND, /* OPTEND */ [Tag_em] "em", END, @@ -65,6 +65,7 @@ Tag tag[]={ [Tag_samp] "samp", END, [Tag_script] "script", END, [Tag_select] "select", END, +[Tag_span] "span", END, [Tag_strong] "strong", END, [Tag_style] "style", END, [Tag_source] "source", NOEND, diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c index 1a4b33f18..be8378dbd 100644 --- a/sys/src/cmd/mothra/rdhtml.c +++ b/sys/src/cmd/mothra/rdhtml.c @@ -813,6 +813,7 @@ void plrdhtml(char *name, int fd, Www *dst){ g.spacc=0; g.linebrk=1; break; + case Tag_span: case Tag_center: /* more to come */ break; |
