diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-20 15:50:24 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-20 15:50:24 +0000 |
commit | 2b4aeafde92b2ab4a20470a50b2f77a0325611fe (patch) | |
tree | 1b1ea07478196650aa428334049b4188aa9dece6 /mdoc_term.c | |
parent | 0284beff01aa6cf1819c49e16dde13c3eb602990 (diff) | |
download | mandoc-2b4aeafde92b2ab4a20470a50b2f77a0325611fe.tar.gz |
correct the spacing after in-line equations
that start at the beginning of an input line
but end before the end of an input line
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 4b7ca183..5f94ba8e 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -347,7 +347,7 @@ print_mdoc_node(DECL_ARGS) if ( ! (n->flags & MDOC_LINE)) p->flags |= TERMP_NOSPACE; term_eqn(p, n->eqn); - if ( ! (n->flags & MDOC_LINE)) + if (n->next != NULL && ! (n->next->flags & MDOC_LINE)) p->flags |= TERMP_NOSPACE; break; case MDOC_TBL: |