summaryrefslogtreecommitdiffstats
path: root/mdoc_man.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_man.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_man.c')
-rw-r--r--mdoc_man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index 5af2bb04..83be0298 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -185,8 +185,8 @@ static const struct manact manacts[MDOC_MAX + 1] = {
{ NULL, pre_bx, NULL, NULL, NULL }, /* Bx */
{ NULL, pre_skip, NULL, NULL, NULL }, /* Db */
{ NULL, NULL, NULL, NULL, NULL }, /* Dc */
- { cond_body, pre_enc, post_enc, "\\(lq", "\\(rq" }, /* Do */
- { cond_body, pre_enc, post_enc, "\\(lq", "\\(rq" }, /* Dq */
+ { cond_body, pre_enc, post_enc, "\\(Lq", "\\(Rq" }, /* Do */
+ { cond_body, pre_enc, post_enc, "\\(Lq", "\\(Rq" }, /* Dq */
{ NULL, NULL, NULL, NULL, NULL }, /* Ec */
{ NULL, NULL, NULL, NULL, NULL }, /* Ef */
{ NULL, pre_em, post_font, NULL, NULL }, /* Em */