=================================================================== RCS file: /cvs/mandoc/mdoc_term.c,v retrieving revision 1.283 retrieving revision 1.285 diff -u -p -r1.283 -r1.285 --- mandoc/mdoc_term.c 2014/10/13 22:00:47 1.283 +++ mandoc/mdoc_term.c 2014/10/20 02:47:09 1.285 @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.283 2014/10/13 22:00:47 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.285 2014/10/20 02:47:09 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze @@ -344,7 +344,11 @@ 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); + if ( ! (n->flags & MDOC_LINE)) + p->flags |= TERMP_NOSPACE; break; case MDOC_TBL: term_tbl(p, n->span);