diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-11 20:24:20 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-11 20:24:20 -0800 |
commit | 0c0ae7a0962a7dce1b3328d95d96b9fde6c6cc52 (patch) | |
tree | a553fd2997c8e762b648f957e7b50b7025ed77ec | |
parent | eea23326c89875d6737e6bbeec7f7b201ed36d03 (diff) |
xml format: use 'destination' instead of 'url', like the spec.
-rw-r--r-- | CommonMark.dtd | 2 | ||||
-rw-r--r-- | src/xml.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CommonMark.dtd b/CommonMark.dtd index 9b3deaf..27de97a 100644 --- a/CommonMark.dtd +++ b/CommonMark.dtd @@ -59,7 +59,7 @@ <!ELEMENT link (%inline;)*> <!ATTLIST link - url CDATA #REQUIRED + destination CDATA #REQUIRED title CDATA #IMPLIED> <!ELEMENT image (%inline;)*> @@ -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=\""); |