From: schwarze Date: Fri, 14 Apr 2017 18:23:29 +0000 (+0000) Subject: Do not make the colon after the .Lk link text italic. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=646f82ab19a7b82c6606b5a0c9e3b3cb7b8620ab;p=openbsd Do not make the colon after the .Lk link text italic. I just pushed the same change to GNU troff. --- diff --git a/usr.bin/mandoc/mdoc_term.c b/usr.bin/mandoc/mdoc_term.c index b7bb513791f..8605cf23208 100644 --- a/usr.bin/mandoc/mdoc_term.c +++ b/usr.bin/mandoc/mdoc_term.c @@ -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 * Copyright (c) 2010, 2012-2017 Ingo Schwarze @@ -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);