=================================================================== RCS file: /cvs/mandoc/html.c,v retrieving revision 1.51 retrieving revision 1.52 diff -u -p -r1.51 -r1.52 --- mandoc/html.c 2009/09/21 14:56:56 1.51 +++ mandoc/html.c 2009/09/24 09:50:31 1.52 @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.51 2009/09/21 14:56:56 kristaps Exp $ */ +/* $Id: html.c,v 1.52 2009/09/24 09:50:31 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -424,7 +424,8 @@ print_text(struct html *h, const char *p) case(']'): /* FALLTHROUGH */ case('}'): - h->flags |= HTML_NOSPACE; + if ( ! (HTML_IGNDELIM & h->flags)) + h->flags |= HTML_NOSPACE; break; default: break;