summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mothra/rdhtml.c
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2011-11-08 20:07:02 -0600
committerstanley lieber <stanley.lieber@gmail.com>2011-11-08 20:07:02 -0600
commit9c1277777315815ff64e4929d8e06ff5652f925c (patch)
treede5752514c76cc59e2444fa20896827c2678e0c1 /sys/src/cmd/mothra/rdhtml.c
parente6935a3c4bfa6a2bfc318a41549fd3d1426aa6c4 (diff)
mothra: treat <div> as <br> instead of <p>
Diffstat (limited to 'sys/src/cmd/mothra/rdhtml.c')
-rw-r--r--sys/src/cmd/mothra/rdhtml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c
index 9000c4e15..cc5e8c43f 100644
--- a/sys/src/cmd/mothra/rdhtml.c
+++ b/sys/src/cmd/mothra/rdhtml.c
@@ -776,6 +776,7 @@ void plrdhtml(char *name, int fd, Www *dst){
g.state->indent=20;
g.spacc=0;
break;
+ case Tag_div:
case Tag_br:
g.spacc=0;
g.linebrk=1;
@@ -910,7 +911,6 @@ void plrdhtml(char *name, int fd, Www *dst){
break;
}
break;
- case Tag_div:
case Tag_p:
pl_linespace(&g);
g.linebrk=1;