From 55322f2b6bc7563cc1587a7c12f8af8fb9f86913 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 15 Dec 2010 23:44:02 +0000 Subject: 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. --- mdoc_html.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'mdoc_html.c') 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 * @@ -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); -- cgit v1.2.3