diff options
author | 2010-12-15 17:19:41 +0000 | |
---|---|---|
committer | 2010-12-15 17:19:41 +0000 | |
commit | 5aba35cda788d55771e487f03711631224a02002 (patch) | |
tree | 5749bfb8b102c9967bc3a62f399fefde1e13ee76 /html.c | |
parent | 8802f26277b361f248ff2e068e40653bc9e00560 (diff) | |
download | mandoc-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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] = { |