summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-17 08:17:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-17 08:17:40 +0000
commitc55938e290e5b36871f0cd159ac01986f60cb160 (patch)
tree4fcaf8f2513d3e9cf149967e5908d2448ddd4513 /html.c
parent27d313e4174a4d5bdd74270ad96e4215b0eed47f (diff)
downloadmandoc-c55938e290e5b36871f0cd159ac01986f60cb160.tar.gz
Have synopsis_pre() in -Thtml emit P or BR, not DIVs.
Banish header and footer TABLE styling to example.style.css.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/html.c b/html.c
index d1a55436..6e2bf063 100644
--- a/html.c
+++ b/html.c
@@ -449,6 +449,10 @@ print_otag(struct html *h, enum htmltag tag,
putchar('>');
h->flags |= HTML_NOSPACE;
+
+ if ((HTML_AUTOCLOSE | HTML_CLRLINE) & htmltags[tag].flags)
+ putchar('\n');
+
return(t);
}