diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-15 23:44:02 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-15 23:44:02 +0000 |
commit | 55322f2b6bc7563cc1587a7c12f8af8fb9f86913 (patch) | |
tree | ab5515e11f024112211e4e236caa7c9c1d026d1e /mdoc_html.c | |
parent | 7aa6a9a39d16b4098093e9ce72a8b4c914a174a7 (diff) | |
download | mandoc-55322f2b6bc7563cc1587a7c12f8af8fb9f86913.tar.gz mandoc-55322f2b6bc7563cc1587a7c12f8af8fb9f86913.tar.zst mandoc-55322f2b6bc7563cc1587a7c12f8af8fb9f86913.zip |
Remove `Pp' and `Lp' checks in front-ends to make sure we're not
printing as the first or last child of an `Ss' or `Sh': this is now
ensured within the validator.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index 60b13ad1..64419c08 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.120 2010/12/15 17:19:41 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.121 2010/12/15 23:44:02 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -1542,11 +1542,6 @@ static int mdoc_pp_pre(MDOC_ARGS) { - if ((NULL == n->next || NULL == n->prev) && - (MDOC_Ss == n->parent->tok || - MDOC_Sh == n->parent->tok)) - return(0); - print_otag(h, TAG_P, 0, NULL); return(0); |