=================================================================== RCS file: /cvs/mandoc/man_term.c,v retrieving revision 1.215 retrieving revision 1.216 diff -u -p -r1.215 -r1.216 --- mandoc/man_term.c 2018/08/18 02:08:27 1.215 +++ mandoc/man_term.c 2018/08/18 13:05:10 1.216 @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.215 2018/08/18 02:08:27 schwarze Exp $ */ +/* $Id: man_term.c,v 1.216 2018/08/18 13:05:10 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2015, 2017, 2018 Ingo Schwarze @@ -346,7 +346,7 @@ pre_OP(DECL_ARGS) { term_word(p, "["); - p->flags |= TERMP_NOSPACE; + p->flags |= TERMP_KEEP | TERMP_NOSPACE; if (NULL != (n = n->child)) { term_fontrepl(p, TERMFONT_BOLD); @@ -358,6 +358,7 @@ pre_OP(DECL_ARGS) } term_fontrepl(p, TERMFONT_NONE); + p->flags &= ~TERMP_KEEP; p->flags |= TERMP_NOSPACE; term_word(p, "]"); return 0;