cmark

My personal build of CMark ✏️

Commit
df29746dabf154ce09f3bfbdeeafb62bff72366a
Parent
455068614817b4080a0606dca0daec4de61ff68a
Author
John MacFarlane <jgm@berkeley.edu>
Date

commonmark renderer - don't escape in fenced code blocks.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified src/commonmark.c 2 1 1
diff --git 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);