From b811dd8facd3fe26da32b93d70ab92d3693fab5c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 11 Jan 2015 14:59:12 -0800 Subject: XMLRenderer -> XmlRenderer. For consistency with HtmlRenderer. I'm not sure which is best. --- js/lib/xml.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/lib/xml.js') diff --git a/js/lib/xml.js b/js/lib/xml.js index e7c71b0..e187e89 100644 --- a/js/lib/xml.js +++ b/js/lib/xml.js @@ -120,8 +120,8 @@ var replaceUnsafeChar = function(s) { var reNeedsEscaping = /[&<>"]/; -// The XMLRenderer object. -function XMLRenderer(options){ +// The XmlRenderer object. +function XmlRenderer(options){ return { // default options: softbreak: '\n', // by default, soft breaks are rendered as newlines in HTML @@ -143,4 +143,4 @@ function XMLRenderer(options){ }; } -module.exports = XMLRenderer; +module.exports = XmlRenderer; -- cgit v1.2.3