summaryrefslogtreecommitdiff
path: root/src/xml.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-15 17:32:00 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-15 17:32:00 -0800
commit982ba5a528111dbf647e90f412498e315fcf432c (patch)
tree2a2cf570d3d8a2f19072705d0c02507b2376eba6 /src/xml.c
parent12e9e3c4d06fa33f2d72ea4eb7ee2978f59c1313 (diff)
Moved normalization step from XML renderer to main.
Diffstat (limited to 'src/xml.c')
-rw-r--r--src/xml.c4
1 files changed, 0 insertions, 4 deletions
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,