summaryrefslogtreecommitdiff
path: root/js/bin/commonmark
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2015-01-11 14:59:12 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2015-01-11 14:59:12 -0800
commitb811dd8facd3fe26da32b93d70ab92d3693fab5c (patch)
tree3cfc941f4eec823acac0e8ad027b615c775dd395 /js/bin/commonmark
parent7b43ae5be655259cc9081843b0e34e58bad37b72 (diff)
XMLRenderer -> XmlRenderer.
For consistency with HtmlRenderer. I'm not sure which is best.
Diffstat (limited to 'js/bin/commonmark')
-rwxr-xr-xjs/bin/commonmark2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bin/commonmark b/js/bin/commonmark
index f40c37a..527e118 100755
--- a/js/bin/commonmark
+++ b/js/bin/commonmark
@@ -36,7 +36,7 @@ var renderer;
if (format === 'html') {
renderer = new commonmark.HtmlRenderer(options);
} else if (format === 'xml') {
- renderer = new commonmark.XMLRenderer(options);
+ renderer = new commonmark.XmlRenderer(options);
} else if (format === 'ast') {
renderer = { render: function(node) {
return util.inspect(node.toAST(), null, 20, true) + '\n';