summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc_html.c5
-rw-r--r--mdoc_term.c5
2 files changed, 0 insertions, 10 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);
diff --git a/mdoc_term.c b/mdoc_term.c
index ad2b3ab3..820db16e 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1815,11 +1815,6 @@ termp_sp_pre(DECL_ARGS)
len = 0;
break;
default:
- assert(n->parent);
- if ((NULL == n->next || NULL == n->prev) &&
- (MDOC_Ss == n->parent->tok ||
- MDOC_Sh == n->parent->tok))
- return(0);
len = 1;
break;
}