=================================================================== RCS file: /cvs/mandoc/term.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -p -r1.8 -r1.9 --- mandoc/term.c 2009/02/22 15:50:45 1.8 +++ mandoc/term.c 2009/02/22 19:23:48 1.9 @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.8 2009/02/22 15:50:45 kristaps Exp $ */ +/* $Id: term.c,v 1.9 2009/02/22 19:23:48 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -319,8 +319,11 @@ word(struct termp *p, const char *word) len = strlen(word); assert(len > 0); - if (mdoc_isdelim(word)) - p->flags |= TERMP_NOSPACE; + if (mdoc_isdelim(word)) { + if ( ! (p->flags & TERMP_IGNDELIM)) + p->flags |= TERMP_NOSPACE; + p->flags &= ~TERMP_IGNDELIM; + } /* LINTED */ for (j = i = 0; i < len; i++) {