summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.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_validate.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_validate.c')
-rw-r--r--mdoc_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 0310da83..150fc827 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -839,7 +839,7 @@ post_lb(POST_ARGS)
if (NULL == (stdlibname = mdoc_a2lib(n->string)))
mandoc_asprintf(&libname,
- "library \\(lq%s\\(rq", n->string);
+ "library \\(Lq%s\\(Rq", n->string);
else
libname = mandoc_strdup(stdlibname);