summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-23 08:19:22 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-23 08:19:22 -0800
commit050ef111b02691679c2eb825102a3508630f0a55 (patch)
tree57f3136b832f56382801bf14a0388149a9ddb476
parentb59da4fc9c35b9def682294de1c521b32cd859e9 (diff)
Added version number to XML namespace.
1.0 - looking forward. We don't guarantee stability in this until 1.0 is actually released, however.
-rw-r--r--src/xml.c2
1 files changed, 1 insertions, 1 deletions
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: