summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-10-12 15:29:35 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-10-12 15:29:35 +0000
commitd8c6ba86ac437e53d413391925cc57114f4110b8 (patch)
treedf0f004031a4c4721cf3a037c8176d841d5633c1 /mdoc_term.c
parent32802d4aab67e835fef48410b63bdab742c20530 (diff)
downloadmandoc-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.c2
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: