=================================================================== RCS file: /cvs/mandoc/mdoc_term.c,v retrieving revision 1.208 retrieving revision 1.210 diff -u -p -r1.208 -r1.210 --- mandoc/mdoc_term.c 2011/01/06 14:05:12 1.208 +++ mandoc/mdoc_term.c 2011/01/25 10:37:49 1.210 @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.208 2011/01/06 14:05:12 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.210 2011/01/25 10:37:49 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -315,6 +315,8 @@ print_mdoc_node(DECL_ARGS) switch (n->type) { case (MDOC_TEXT): + if (' ' == *n->string && MDOC_LINE & n->flags) + term_newln(p); term_word(p, n->string); break; case (MDOC_TBL): @@ -2167,7 +2169,7 @@ termp__t_post(DECL_ARGS) * us instead of underlining us (for disambiguation). */ if (n->parent && MDOC_Rs == n->parent->tok && - n->parent->norm->Rs.child_J) + n->parent->norm->Rs.quote_T) termp_quote_post(p, pair, m, n); termp____post(p, pair, m, n); @@ -2183,7 +2185,7 @@ termp__t_pre(DECL_ARGS) * us instead of underlining us (for disambiguation). */ if (n->parent && MDOC_Rs == n->parent->tok && - n->parent->norm->Rs.child_J) + n->parent->norm->Rs.quote_T) return(termp_quote_pre(p, pair, m, n)); term_fontpush(p, TERMFONT_UNDER);