summaryrefslogtreecommitdiffstats
path: root/mdoc_man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-17 19:15:41 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-17 19:15:41 +0000
commitb17feb6b04d6ca8badd3ac1223dd6da9b051d357 (patch)
treecc49215280538e7630a6029a806696800b3af691 /mdoc_man.c
parent6314f1e80963a3b0062af9c80947fb76e5452a4b (diff)
downloadmandoc-b17feb6b04d6ca8badd3ac1223dd6da9b051d357.tar.gz
Use typographic quotes rather than '"' for .Rs %T (no change for -Tascii
output, of course). Patch from bentley@ in November 2014. This can be committed now because groff merged Anthony's patch yesterday.
Diffstat (limited to 'mdoc_man.c')
-rw-r--r--mdoc_man.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index 69cb6ecd..9c7a37d3 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -717,8 +717,7 @@ pre__t(DECL_ARGS)
if (n->parent && MDOC_Rs == n->parent->tok &&
n->parent->norm->Rs.quote_T) {
- print_word("");
- putchar('\"');
+ print_word("\\(lq");
outflags &= ~MMAN_spc;
} else
font_push('I');
@@ -732,8 +731,7 @@ post__t(DECL_ARGS)
if (n->parent && MDOC_Rs == n->parent->tok &&
n->parent->norm->Rs.quote_T) {
outflags &= ~MMAN_spc;
- print_word("");
- putchar('\"');
+ print_word("\\(rq");
} else
font_pop();
post_percent(meta, n);