From 050ef111b02691679c2eb825102a3508630f0a55 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 23 Dec 2015 08:19:22 -0800 Subject: Added version number to XML namespace. 1.0 - looking forward. We don't guarantee stability in this until 1.0 is actually released, however. --- 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 939a821..ef95484 100644 --- a/src/xml.c +++ b/src/xml.c @@ -51,7 +51,7 @@ static int S_render_node(cmark_node *node, cmark_event_type ev_type, switch (node->type) { case CMARK_NODE_DOCUMENT: - cmark_strbuf_puts(xml, " xmlns=\"http://commonmark.org/xml/\""); + cmark_strbuf_puts(xml, " xmlns=\"http://commonmark.org/xml/1.0\""); break; case CMARK_NODE_TEXT: case CMARK_NODE_CODE: -- cgit v1.2.3