From 0b00a696133cf26be258a362bd60da31baecd29f Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 12 Oct 2015 15:29:35 +0000 Subject: 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@. --- mdoc_term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_term.c') diff --git a/mdoc_term.c b/mdoc_term.c index 944a2282..b90a2090 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.329 2015/10/12 00:08:16 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.330 2015/10/12 15:29:35 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012-2015 Ingo Schwarze @@ -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: -- cgit v1.2.3