From 6e599f2ceb8ca1aee0cdb47d37aba16ac5938641 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 28 Dec 2015 11:46:33 -0800 Subject: Rename NODE_HTML -> NODE_HTML_BLOCK, NODE_INLINE_HTML -> NODE_HTML_INLINE. API change. Sorry, but this is the time to break things, before 1.0 is released. This matches the recent changes to CommonMark.dtd. --- src/xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xml.c') diff --git a/src/xml.c b/src/xml.c index ef95484..df3e9a7 100644 --- a/src/xml.c +++ b/src/xml.c @@ -55,8 +55,8 @@ static int S_render_node(cmark_node *node, cmark_event_type ev_type, break; case CMARK_NODE_TEXT: case CMARK_NODE_CODE: - case CMARK_NODE_HTML: - case CMARK_NODE_INLINE_HTML: + case CMARK_NODE_HTML_BLOCK: + case CMARK_NODE_HTML_INLINE: cmark_strbuf_puts(xml, ">"); escape_xml(xml, node->as.literal.data, node->as.literal.len); cmark_strbuf_puts(xml, "