cmark

My personal build of CMark ✏️

Commit
c8de565f118fa194236230a432ea4bc29292daba
Parent
b77c79c0183a378a736489743639ef3331e711c7
Author
John MacFarlane <jgm@berkeley.edu>
Date

Added TODO comment to commonmark renderer.

Diffstat

1 file changed, 2 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified src/commonmark.c 2 2 0
diff --git a/src/commonmark.c b/src/commonmark.c
@@ -376,6 +376,8 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
 		if (entering) {
 			lit(state, "[", false);
 		} else {
+			// TODO - backslash-escape " and \ inside url, title
+			// for both links and images
 			lit(state, "](", false);
 			out(state, cmark_chunk_literal(cmark_node_get_url(node)), false, true);
 			title = cmark_node_get_title(node);