diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c
index 7c02182e0..7a36b83b8 100644
--- a/sys/src/cmd/mothra/rdhtml.c
+++ b/sys/src/cmd/mothra/rdhtml.c
@@ -965,6 +965,8 @@ void plrdhtml(char *name, int fd, Www *dst, int killimgs){
g.spacc=0;
break;
case Tag_div:
+ g.spacc=0;
+ break;
case Tag_br:
case Tag_wbr:
g.spacc=0;