summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2021-01-31 12:25:03 -0800
committerOri Bernstein <ori@eigenstate.org>2021-01-31 12:25:03 -0800
commitc20f68f8017f98df3613108a17087d56125392b7 (patch)
tree3e963d670cd0bbbd1e5410e774c1537b4b69ce67
parentbb250c4c3b8a0add2a7ec2b972f327b0a3db03d4 (diff)
downloadplan9front-c20f68f8017f98df3613108a17087d56125392b7.tar.xz
mothra: don't insert newline after div (thanks phil9)
-rw-r--r--sys/src/cmd/mothra/rdhtml.c2
1 files changed, 2 insertions, 0 deletions
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;