diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-20 02:33:06 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-20 02:33:06 +0000 |
commit | 92a2c903373c2aae7aa1d0c680626b21f4011848 (patch) | |
tree | afd8be1ad2fcc51a65fd23aef90e97b6eb0386e3 /mdoc_term.c | |
parent | 1ef973217e594b4c3a9888b786a447856f0de8db (diff) | |
download | mandoc-92a2c903373c2aae7aa1d0c680626b21f4011848.tar.gz |
correct spacing before inline equations
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index a7266724..2ca44541 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -344,6 +344,8 @@ print_mdoc_node(DECL_ARGS) p->flags |= TERMP_NOSPACE; break; case MDOC_EQN: + if ( ! (n->flags & MDOC_LINE)) + p->flags |= TERMP_NOSPACE; term_eqn(p, n->eqn); break; case MDOC_TBL: |