summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man_term.c2
-rw-r--r--mdoc_term.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/man_term.c b/man_term.c
index 9329fbba..19ab14af 100644
--- a/man_term.c
+++ b/man_term.c
@@ -990,6 +990,8 @@ print_man_node(DECL_ARGS)
if ( ! (n->flags & MAN_LINE))
p->flags |= TERMP_NOSPACE;
term_eqn(p, n->eqn);
+ if ( ! (n->flags & MAN_LINE))
+ p->flags |= TERMP_NOSPACE;
return;
case MAN_TBL:
/*
diff --git a/mdoc_term.c b/mdoc_term.c
index 2ca44541..4b7ca183 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -347,6 +347,8 @@ print_mdoc_node(DECL_ARGS)
if ( ! (n->flags & MDOC_LINE))
p->flags |= TERMP_NOSPACE;
term_eqn(p, n->eqn);
+ if ( ! (n->flags & MDOC_LINE))
+ p->flags |= TERMP_NOSPACE;
break;
case MDOC_TBL:
term_tbl(p, n->span);