diff options
author | 2010-12-17 08:17:40 +0000 | |
---|---|---|
committer | 2010-12-17 08:17:40 +0000 | |
commit | cc7f2a2dc0a3200e8f8dd766ff0eddd6a3532388 (patch) | |
tree | f560b2a0ef6e0cb59d3b9b054b3f073cdb57d226 /html.c | |
parent | e475285cd277f9da6cc63e7cdf31e74385a3ccc1 (diff) | |
download | mandoc-cc7f2a2dc0a3200e8f8dd766ff0eddd6a3532388.tar.gz mandoc-cc7f2a2dc0a3200e8f8dd766ff0eddd6a3532388.tar.zst mandoc-cc7f2a2dc0a3200e8f8dd766ff0eddd6a3532388.zip |
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.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.116 2010/12/15 17:19:41 kristaps Exp $ */ +/* $Id: html.c,v 1.117 2010/12/17 08:17:40 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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); } |