git: 9front

Download patch

ref: e33f85d011042328fa500b792b5786d2e11991b3
parent: afa3c04688a53b10e0883997b471e005deb2b30f
author: stanley lieber <stanley.lieber@gmail.com>
date: Sun Oct 2 15:59:49 EDT 2011

mothra: render <p> tag with no ident, offset with blank lines

--- a/sys/src/cmd/mothra/rdhtml.c
+++ b/sys/src/cmd/mothra/rdhtml.c
@@ -864,7 +864,8 @@
 			}
 			break;
 		case Tag_p:
-			g.para=1;
+			pl_linespace(&g);
+			g.linebrk=1;
 			g.spacc=0;
 			break;
 		case Tag_listing:
--