summaryrefslogtreecommitdiff
path: root/src/commonmark.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-03-29 17:50:28 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-03-29 17:50:28 -0700
commitdf29746dabf154ce09f3bfbdeeafb62bff72366a (patch)
treed7345bc74b13d1936e3ae34daf06e4d049efe976 /src/commonmark.c
parent455068614817b4080a0606dca0daec4de61ff68a (diff)
commonmark renderer - don't escape in fenced code blocks.
Diffstat (limited to 'src/commonmark.c')
-rw-r--r--src/commonmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonmark.c b/src/commonmark.c
index 9a7a882..61eb4cc 100644
--- a/src/commonmark.c
+++ b/src/commonmark.c
@@ -365,7 +365,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
lit(state, " ", false);
out(state, cmark_chunk_literal(info), false, LITERAL);
cr(state);
- out(state, node->as.code.literal, false, NORMAL);
+ out(state, node->as.code.literal, false, LITERAL);
cr(state);
for (i = 0; i < numticks; i++) {
lit(state, "`", false);