=================================================================== RCS file: /cvs/mandoc/html.c,v retrieving revision 1.242 retrieving revision 1.243 diff -u -p -r1.242 -r1.243 --- mandoc/html.c 2018/10/25 01:32:40 1.242 +++ mandoc/html.c 2018/11/23 19:17:05 1.243 @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.242 2018/10/25 01:32:40 schwarze Exp $ */ +/* $Id: html.c,v 1.243 2018/11/23 19:17:05 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze @@ -416,8 +416,11 @@ print_encode(struct html *h, const char *p, const char case ESCAPE_FONTBI: case ESCAPE_FONTCW: case ESCAPE_FONTROMAN: - if (0 == norecurse) + if (0 == norecurse) { + h->flags |= HTML_NOSPACE; print_metaf(h, esc); + h->flags &= ~HTML_NOSPACE; + } continue; case ESCAPE_SKIPCHAR: h->flags |= HTML_SKIPCHAR;