summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 23:44:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 23:44:02 +0000
commit2839585ee67cd98d7251f8bd59de30af7729296a (patch)
tree475e6046877e00bf3bc052c3d8672bb27b5cdad1 /mdoc_html.c
parentc4788e9b021a0c7106d8aeb617d236222ebe19b6 (diff)
downloadmandoc-2839585ee67cd98d7251f8bd59de30af7729296a.tar.gz
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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index b24414f0..ddc04a59 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -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);