Do not make the colon after the .Lk link text italic.
authorschwarze <schwarze@openbsd.org>
Fri, 14 Apr 2017 18:23:29 +0000 (18:23 +0000)
committerschwarze <schwarze@openbsd.org>
Fri, 14 Apr 2017 18:23:29 +0000 (18:23 +0000)
I just pushed the same change to GNU troff.

usr.bin/mandoc/mdoc_term.c

index b7bb513..8605cf2 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: mdoc_term.c,v 1.245 2017/02/17 19:14:39 schwarze Exp $ */
+/*     $OpenBSD: mdoc_term.c,v 1.246 2017/04/14 18:23:29 schwarze Exp $ */
 /*
  * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010, 2012-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -2001,9 +2001,9 @@ termp_lk_pre(DECL_ARGS)
                        term_word(p, descr->string);
                        descr = descr->next;
                }
+               term_fontpop(p);
                p->flags |= TERMP_NOSPACE;
                term_word(p, ":");
-               term_fontpop(p);
        }
 
        term_fontpush(p, TERMFONT_BOLD);