diff options
-rw-r--r-- | src/xml.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -50,6 +50,9 @@ static int S_render_node(cmark_node *node, cmark_event_type ev_type, literal = false; switch (node->type) { + case CMARK_NODE_DOCUMENT: + cmark_strbuf_puts(xml, " xmlns=\"http://commonmark.org/xml/\""); + break; case CMARK_NODE_TEXT: case CMARK_NODE_CODE: case CMARK_NODE_HTML: |