aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit5aba35cda788d55771e487f03711631224a02002 (patch)
tree5749bfb8b102c9967bc3a62f399fefde1e13ee76 /html.c
parent8802f26277b361f248ff2e068e40653bc9e00560 (diff)
downloadmandoc-5aba35cda788d55771e487f03711631224a02002.tar.gz
mandoc-5aba35cda788d55771e487f03711631224a02002.tar.zst
mandoc-5aba35cda788d55771e487f03711631224a02002.zip
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index 5a63ea5d..60839960 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.115 2010/12/15 15:59:23 kristaps Exp $ */
+/* $Id: html.c,v 1.116 2010/12/15 17:19:41 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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] = {