diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-20 02:47:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-20 02:47:09 +0000 |
commit | f1689f618aeb4d82318224898f0df3ba12ebe25c (patch) | |
tree | ffd7ab1a06895ddae5281341907f638e621e3ad5 | |
parent | 92a2c903373c2aae7aa1d0c680626b21f4011848 (diff) | |
download | mandoc-f1689f618aeb4d82318224898f0df3ba12ebe25c.tar.gz |
correct spacing *after* inline equations (much simpler than expected)
-rw-r--r-- | man_term.c | 2 | ||||
-rw-r--r-- | mdoc_term.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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); |