cmark

My personal build of CMark ✏️

Commit
050ef111b02691679c2eb825102a3508630f0a55
Parent
b59da4fc9c35b9def682294de1c521b32cd859e9
Author
John MacFarlane <jgm@berkeley.edu>
Date

Added version number to XML namespace.

1.0 - looking forward. We don't guarantee stability in this until 1.0 is actually released, however.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified src/xml.c 2 1 1
diff --git 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: