cmark

Unnamed repository; edit this file 'description' to name the repository.

commit c8de565f118fa194236230a432ea4bc29292daba
parent b77c79c0183a378a736489743639ef3331e711c7
Author: John MacFarlane <jgm@berkeley.edu>
Date:   Fri, 27 Mar 2015 22:21:27 -0700

Added TODO comment to commonmark renderer.

Diffstat:
Msrc/commonmark.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
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);