From c8de565f118fa194236230a432ea4bc29292daba Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 27 Mar 2015 22:21:27 -0700 Subject: Added TODO comment to commonmark renderer. --- src/commonmark.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/commonmark.c') diff --git a/src/commonmark.c b/src/commonmark.c index b713303..fa5dd96 100644 --- 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); -- cgit v1.2.3