diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-03-27 22:21:27 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-03-27 22:21:27 -0700 |
commit | c8de565f118fa194236230a432ea4bc29292daba (patch) | |
tree | 44c09df287d710f811d7291d1a17ee9d00cde30c /src | |
parent | b77c79c0183a378a736489743639ef3331e711c7 (diff) |
Added TODO comment to commonmark renderer.
Diffstat (limited to 'src')
-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); |