summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2011-10-02 19:59:49 -0500
committerstanley lieber <stanley.lieber@gmail.com>2011-10-02 19:59:49 -0500
commit45fb395c2b29a2a0828253b25494368a5c69995d (patch)
treea97157f8160013c209d1a302228965209a35bf0a
parent252d48d33112d1ff0463e8eeaee4de6cba510fc5 (diff)
downloadplan9front-45fb395c2b29a2a0828253b25494368a5c69995d.tar.xz
mothra: render <p> tag with no ident, offset with blank lines
-rw-r--r--sys/src/cmd/mothra/rdhtml.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c
index c9d6422d3..e3b915262 100644
--- a/sys/src/cmd/mothra/rdhtml.c
+++ b/sys/src/cmd/mothra/rdhtml.c
@@ -864,7 +864,8 @@ void plrdhtml(char *name, int fd, Www *dst){
}
break;
case Tag_p:
- g.para=1;
+ pl_linespace(&g);
+ g.linebrk=1;
g.spacc=0;
break;
case Tag_listing: