summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-20 02:47:09 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-20 02:47:09 +0000
commitf1689f618aeb4d82318224898f0df3ba12ebe25c (patch)
treeffd7ab1a06895ddae5281341907f638e621e3ad5 /mdoc_term.c
parent92a2c903373c2aae7aa1d0c680626b21f4011848 (diff)
downloadmandoc-f1689f618aeb4d82318224898f0df3ba12ebe25c.tar.gz
correct spacing *after* inline equations (much simpler than expected)
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c2
1 files changed, 2 insertions, 0 deletions
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);