summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-04-14 18:25:04 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-04-14 18:25:04 +0000
commit841d7338bd8aa6b12ade50a315c5d1f58ddf037a (patch)
tree66d5003281c804afb4cf46f184b705dffc3c2406
parente0f9c02dd5dee1df8e149da1939b6071f0340b66 (diff)
downloadmandoc-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.c2
-rw-r--r--mdoc_term.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index 809206ec..e9705a18 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -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);