=================================================================== RCS file: /cvs/mandoc/mdoc_html.c,v retrieving revision 1.275 retrieving revision 1.276 diff -u -p -r1.275 -r1.276 --- mandoc/mdoc_html.c 2017/03/13 20:22:18 1.275 +++ mandoc/mdoc_html.c 2017/03/14 01:35:15 1.276 @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.275 2017/03/13 20:22:18 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.276 2017/03/14 01:35:15 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze @@ -628,7 +628,8 @@ mdoc_nm_pre(MDOC_ARGS) len = html_strlen(meta->name); t = print_otag(h, TAG_COLGROUP, ""); - print_otag(h, TAG_COL, "shw", len); + /* Increase width to make even bold text fit. */ + print_otag(h, TAG_COL, "shw", len + 2); print_otag(h, TAG_COL, ""); print_tagq(h, t); print_otag(h, TAG_TR, "");