From a6a7d2f8f47df7144e636ae2875a8d2ffc0173ae Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 13 Dec 2014 11:33:57 -0800 Subject: Remove CMARK_NODE_REFERENCE_DEF from API. Modified finalize in blocks.c to return parent of finalized block, so we can handle the case of reference definitions, when we simply remove the finalized block. --- src/html.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/html.c') diff --git a/src/html.c b/src/html.c index e6ae63e..12d4659 100644 --- a/src/html.c +++ b/src/html.c @@ -163,9 +163,6 @@ S_render_node(cmark_node *node, int entering, void *vstate) strbuf_puts(html, "
\n"); break; - case CMARK_NODE_REFERENCE_DEF: - break; - case CMARK_NODE_PARAGRAPH: parent = cmark_node_parent(node); grandparent = cmark_node_parent(parent); -- cgit v1.2.3