summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-20 02:33:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-20 02:33:06 +0000
commit92a2c903373c2aae7aa1d0c680626b21f4011848 (patch)
treeafd8be1ad2fcc51a65fd23aef90e97b6eb0386e3 /man_term.c
parent1ef973217e594b4c3a9888b786a447856f0de8db (diff)
downloadmandoc-92a2c903373c2aae7aa1d0c680626b21f4011848.tar.gz
correct spacing before inline equations
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/man_term.c b/man_term.c
index 17753c62..9329fbba 100644
--- a/man_term.c
+++ b/man_term.c
@@ -987,6 +987,8 @@ print_man_node(DECL_ARGS)
goto out;
case MAN_EQN:
+ if ( ! (n->flags & MAN_LINE))
+ p->flags |= TERMP_NOSPACE;
term_eqn(p, n->eqn);
return;
case MAN_TBL: