diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-04-14 18:25:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-04-14 18:25:04 +0000 |
commit | 841d7338bd8aa6b12ade50a315c5d1f58ddf037a (patch) | |
tree | 66d5003281c804afb4cf46f184b705dffc3c2406 | |
parent | e0f9c02dd5dee1df8e149da1939b6071f0340b66 (diff) | |
download | mandoc-841d7338bd8aa6b12ade50a315c5d1f58ddf037a.tar.gz |
Do not make the colon after the .Lk link text italic.
I just pushed the same change to GNU troff.
-rw-r--r-- | mdoc_man.c | 2 | ||||
-rw-r--r-- | mdoc_term.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1474,8 +1474,8 @@ pre_lk(DECL_ARGS) print_word(descr->string); descr = descr->next; } - print_word(":"); font_pop(); + print_word(":"); } font_push('B'); diff --git a/mdoc_term.c b/mdoc_term.c index df718fa6..ea4a6a31 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -2003,9 +2003,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); |