=================================================================== RCS file: /cvs/mandoc/mdoc_term.c,v retrieving revision 1.173 retrieving revision 1.174 diff -u -p -r1.173 -r1.174 --- mandoc/mdoc_term.c 2010/07/07 15:04:54 1.173 +++ mandoc/mdoc_term.c 2010/07/16 00:03:37 1.174 @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.173 2010/07/07 15:04:54 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.174 2010/07/16 00:03:37 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -2066,9 +2066,11 @@ termp_sm_pre(DECL_ARGS) { assert(n->child && MDOC_TEXT == n->child->type); - if (0 == strcmp("on", n->child->string)) + if (0 == strcmp("on", n->child->string)) { + if (p->col) + p->flags &= ~TERMP_NOSPACE; p->flags &= ~TERMP_NONOSPACE; - else + } else p->flags |= TERMP_NONOSPACE; return(0);