ref: 9c1277777315815ff64e4929d8e06ff5652f925c
parent: e6935a3c4bfa6a2bfc318a41549fd3d1426aa6c4
author: stanley lieber <[email protected]>
date: Tue Nov 8 15:07:02 EST 2011
mothra: treat <div> as <br> instead of <p>
--- a/sys/src/cmd/mothra/rdhtml.c
+++ b/sys/src/cmd/mothra/rdhtml.c
@@ -776,6 +776,7 @@
g.state->indent=20;
g.spacc=0;
break;
+ case Tag_div:
case Tag_br:
g.spacc=0;
g.linebrk=1;
@@ -910,7 +911,6 @@
break;
}
break;
- case Tag_div:
case Tag_p:
pl_linespace(&g);
g.linebrk=1;