Comparing version 0.4.7 to 0.4.8
@@ -190,3 +190,3 @@ // Generated by CoffeeScript 1.9.1 | ||
} else { | ||
if (_this.options.cdata && requiresCDATA(child)) { | ||
if (typeof child === 'string' && _this.options.cdata && requiresCDATA(child)) { | ||
element = element.ele(key).raw(wrapCDATA(child)).up(); | ||
@@ -193,0 +193,0 @@ } else { |
@@ -6,3 +6,3 @@ { | ||
"homepage" : "https://github.com/Leonidas-from-XIV/node-xml2js", | ||
"version" : "0.4.7", | ||
"version" : "0.4.8", | ||
"author" : "Marek Kubica <marek@xivilization.net> (http://xivilization.net)", | ||
@@ -40,3 +40,4 @@ "contributors" : [ | ||
"Tom Hughes <<tom@compton.nu> (http://compton.nu/)", | ||
"Piotr Rochala (http://rocha.la/)" | ||
"Piotr Rochala (http://rocha.la/)", | ||
"Michael Avila (https://github.com/michaelavila)" | ||
], | ||
@@ -43,0 +44,0 @@ "main" : "./lib/xml2js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108201