From b281a1e24c119c6d35c34012cd964c84db908938 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 19 Oct 2015 15:55:44 -0700 Subject: Fixed DOCTYPE in xml output. See http://talk.commonmark.org/t/output-of-t-xml-should-have-different-doctype-declaration/1893. --- src/xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xml.c') diff --git a/src/xml.c b/src/xml.c index 0b225fa..4885d0a 100644 --- a/src/xml.c +++ b/src/xml.c @@ -140,7 +140,7 @@ char *cmark_render_xml(cmark_node *root, int options) { cmark_strbuf_puts(state.xml, "\n"); cmark_strbuf_puts(state.xml, - "\n"); + "\n"); while ((ev_type = cmark_iter_next(iter)) != CMARK_EVENT_DONE) { cur = cmark_iter_get_node(iter); S_render_node(cur, ev_type, &state, options); -- cgit v1.2.3