From 0c0ae7a0962a7dce1b3328d95d96b9fde6c6cc52 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 11 Jan 2015 20:24:20 -0800 Subject: xml format: use 'destination' instead of 'url', like the spec. --- 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 6689997..8a1d3fc 100644 --- a/src/xml.c +++ b/src/xml.c @@ -113,7 +113,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, break; case CMARK_NODE_LINK: case CMARK_NODE_IMAGE: - cmark_strbuf_puts(xml, " url=\""); + cmark_strbuf_puts(xml, " destination=\""); escape_xml(xml, node->as.link.url, -1); cmark_strbuf_putc(xml, '"'); cmark_strbuf_puts(xml, " title=\""); -- cgit v1.2.3