mothra: treat <div> as <br> instead of <p>

This commit is contained in:
stanley lieber 2011-11-08 20:07:02 -06:00
parent e6935a3c4b
commit 9c12777773

View file

@ -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;