X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/02046d75d7ec4c27ec31d04e15c9d9fe018a01ab..6e74e86e44514ebe15ac91e3d2d8aa05b8fdf34b:/man_term.c?ds=sidebyside diff --git a/man_term.c b/man_term.c index 3057d326..ab288858 100644 --- a/man_term.c +++ b/man_term.c @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.151 2014/09/03 05:22:45 schwarze Exp $ */ +/* $Id: man_term.c,v 1.154 2014/10/20 15:50:24 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze @@ -987,7 +987,11 @@ print_man_node(DECL_ARGS) goto out; case MAN_EQN: + if ( ! (n->flags & MAN_LINE)) + p->flags |= TERMP_NOSPACE; term_eqn(p, n->eqn); + if (n->next != NULL && ! (n->next->flags & MAN_LINE)) + p->flags |= TERMP_NOSPACE; return; case MAN_TBL: /*