summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc_term.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index daec2760..aed7bd1e 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1044,6 +1044,7 @@ termp_nm_pre(DECL_ARGS)
{
if (NULL == n->child && NULL == m->name)
+ return(1);
if (SEC_SYNOPSIS == n->sec && MDOC_LINE & n->flags)
term_newln(p);