diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-12 15:29:35 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-12 15:29:35 +0000 |
commit | d8c6ba86ac437e53d413391925cc57114f4110b8 (patch) | |
tree | df0f004031a4c4721cf3a037c8176d841d5633c1 /mdoc_term.c | |
parent | 32802d4aab67e835fef48410b63bdab742c20530 (diff) | |
download | mandoc-d8c6ba86ac437e53d413391925cc57114f4110b8.tar.gz |
Use "-" rather than "\(hy" for the heads of .Bl -dash and -hyphen lists.
In UTF-8 output, that renders as ASCII HYPHEN-MINUS (U+002D)
rather than HYPHEN (U+2010), which looks better and matches groff.
In ASCII output, it makes no difference.
Suggested by naddy@.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 0b2b53db..abda8e30 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -887,7 +887,7 @@ termp_it_pre(DECL_ARGS) case LIST_dash: case LIST_hyphen: term_fontpush(p, TERMFONT_BOLD); - term_word(p, "\\(hy"); + term_word(p, "-"); term_fontpop(p); break; case LIST_enum: |