From 982ba5a528111dbf647e90f412498e315fcf432c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 15 Feb 2015 17:32:00 -0800 Subject: Moved normalization step from XML renderer to main. --- src/xml.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/xml.c') diff --git a/src/xml.c b/src/xml.c index f169241..57d4c74 100644 --- a/src/xml.c +++ b/src/xml.c @@ -153,10 +153,6 @@ char *cmark_render_xml(cmark_node *root, long options) cmark_node *cur; struct render_state state = { &xml, 0 }; - if (options & CMARK_OPT_NORMALIZE) { - cmark_consolidate_text_nodes(root); - } - cmark_iter *iter = cmark_iter_new(root); cmark_strbuf_puts(state.xml, -- cgit v1.2.3