summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-12 16:15:31 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-12 16:15:31 -0700
commit36afea5350a9c211006c2ac138d9d966196b829e (patch)
tree53e8a25203e3baa40d0cac9e560d352102124e83 /src
parentb1946e9b5978dd1d954efb689201d19221daecef (diff)
man renderer: Use ASCII not LIT in outc.
Diffstat (limited to 'src')
-rw-r--r--src/man.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/man.c b/src/man.c
index f1dcf1d..6fe666d 100644
--- a/src/man.c
+++ b/src/man.c
@@ -34,7 +34,7 @@ void S_outc(cmark_renderer *renderer,
switch(c) {
case 46:
if (renderer->begin_line) {
- LIT("\\&.");
+ ASCII("\\&.");
} else {
utf8proc_encode_char(c, renderer->buffer);
renderer->column += 1;
@@ -42,35 +42,35 @@ void S_outc(cmark_renderer *renderer,
break;
case 39:
if (renderer->begin_line) {
- LIT("\\&'");
+ ASCII("\\&'");
} else {
utf8proc_encode_char(c, renderer->buffer);
renderer->column += 1;
}
break;
case 45:
- LIT("\\-");
+ ASCII("\\-");
break;
case 92:
- LIT("\\e");
+ ASCII("\\e");
break;
case 8216: // left single quote
- LIT("\\[oq]");
+ ASCII("\\[oq]");
break;
case 8217: // right single quote
- LIT("\\[cq]");
+ ASCII("\\[cq]");
break;
case 8220: // left double quote
- LIT("\\[lq]");
+ ASCII("\\[lq]");
break;
case 8221: // right double quote
- LIT("\\[rq]");
+ ASCII("\\[rq]");
break;
case 8212: // em dash
- LIT("\\[em]");
+ ASCII("\\[em]");
break;
case 8211: // en dash
- LIT("\\[en]");
+ ASCII("\\[en]");
break;
default:
utf8proc_encode_char(c, renderer->buffer);