summaryrefslogtreecommitdiffstats
path: root/mdoc_term.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_term.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_term.c')
-rw-r--r--mdoc_term.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 71693c5c..df718fa6 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1714,6 +1714,8 @@ termp_quote_pre(DECL_ARGS)
case MDOC_Bq:
term_word(p, "[");
break;
+ case MDOC__T:
+ /* FALLTHROUGH */
case MDOC_Do:
case MDOC_Dq:
term_word(p, "\\(Lq");
@@ -1728,7 +1730,6 @@ termp_quote_pre(DECL_ARGS)
case MDOC_Pq:
term_word(p, "(");
break;
- case MDOC__T:
case MDOC_Qo:
case MDOC_Qq:
term_word(p, "\"");
@@ -1771,6 +1772,8 @@ termp_quote_post(DECL_ARGS)
case MDOC_Bq:
term_word(p, "]");
break;
+ case MDOC__T:
+ /* FALLTHROUGH */
case MDOC_Do:
case MDOC_Dq:
term_word(p, "\\(Rq");
@@ -1787,7 +1790,6 @@ termp_quote_post(DECL_ARGS)
case MDOC_Pq:
term_word(p, ")");
break;
- case MDOC__T:
case MDOC_Qo:
case MDOC_Qq:
term_word(p, "\"");