summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-17 20:37:16 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-17 20:37:16 +0000
commit0603d32955cc056f11f3defcb885c77f7a45741a (patch)
treeb452b5d9be407095a29d875d30fb2b2a082e8eb0 /mdoc_term.c
parent27a44c9e5c3585e621cce681418cec8e4d676158 (diff)
downloadmandoc-0603d32955cc056f11f3defcb885c77f7a45741a.tar.gz
Render \(lq and \(rq as '"' in -Tascii mode but leave the rendering
of .Do/.Dc, .Dq, .Lb, and .St untouched. Reduces groff-mandoc differences in OpenBSD base by about 7%. Reminded of the issue by naddy@.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 5f4f6a43..17ab4cdf 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1873,7 +1873,7 @@ termp_quote_pre(DECL_ARGS)
case MDOC_Do:
/* FALLTHROUGH */
case MDOC_Dq:
- term_word(p, "\\(lq");
+ term_word(p, "\\(Lq");
break;
case MDOC_En:
if (NULL == n->norm->Es ||
@@ -1942,7 +1942,7 @@ termp_quote_post(DECL_ARGS)
case MDOC_Do:
/* FALLTHROUGH */
case MDOC_Dq:
- term_word(p, "\\(rq");
+ term_word(p, "\\(Rq");
break;
case MDOC_En:
if (n->norm->Es == NULL ||