- Commit
- d307c3eb1b9ff81d929755ac293ad50ef49c6a74
- Parent
- 0905b173c63f902e6d7b51c948c8110e398a3742
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Fixed url -> destination in xml.js.
My personal build of CMark ✏️
Fixed url -> destination in xml.js.
1 file changed, 2 insertions, 2 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | js/lib/xml.js | 4 | 2 | 2 |
diff --git a/js/lib/xml.js b/js/lib/xml.js @@ -110,8 +110,8 @@ var renderNodes = function(block) { if (node.level) { attrs.push(['level', String(node.level)]); } - if (node.url) { - attrs.push(['url', node.url]); + if (node.destination) { + attrs.push(['destination', node.destination]); } if (node.title) { attrs.push(['title', node.title]);