summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 17:19:41 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 17:19:41 +0000
commit6898c14c015c995fc29b7fcd45e73889e4d03c31 (patch)
treeaddbe992211297ecada2309f3a0ff5f83b97920e /html.c
parentc8f60a3cbfe7a37bbfcfd5efe6ebc7ab4034f09a (diff)
downloadmandoc-6898c14c015c995fc29b7fcd45e73889e4d03c31.tar.gz
Use a single P tag for paragraph breaks (which can be configured for
paragraph breaking in CSS). Use -man's handling of `sp' and `br', which accomodates for scaling widths (-mdoc wasn't).
Diffstat (limited to 'html.c')
-rw-r--r--html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/html.c b/html.c
index 761dbf9e..d1a55436 100644
--- a/html.c
+++ b/html.c
@@ -68,6 +68,7 @@ static const struct htmldata htmltags[TAG_MAX] = {
{"dt", HTML_CLRLINE}, /* TAG_DT */
{"dd", HTML_CLRLINE}, /* TAG_DD */
{"blockquote", HTML_CLRLINE}, /* TAG_BLOCKQUOTE */
+ {"p", HTML_CLRLINE | HTML_NOSTACK | HTML_AUTOCLOSE}, /* TAG_P */
};
static const char *const htmlfonts[HTMLFONT_MAX] = {