diff options
-rw-r--r-- | src/commonmark.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |