=================================================================== RCS file: /cvs/mandoc/mdoc_term.c,v retrieving revision 1.298 retrieving revision 1.299 diff -u -p -r1.298 -r1.299 --- mandoc/mdoc_term.c 2014/11/30 05:29:00 1.298 +++ mandoc/mdoc_term.c 2014/12/02 10:08:06 1.299 @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.298 2014/11/30 05:29:00 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.299 2014/12/02 10:08:06 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze @@ -1632,7 +1632,8 @@ termp_bd_pre(DECL_ARGS) default: break; } - if (nn->next && nn->next->line == nn->line) + if (p->flags & TERMP_NONEWLINE || + (nn->next && ! (nn->next->flags & MDOC_LINE))) continue; term_flushln(p); p->flags |= TERMP_NOSPACE;