posthtml-parser
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -19,3 +19,3 @@ /*jshint -W082 */ | ||
onprocessinginstruction: function(name, data) { | ||
name === '!doctype' && results.push('<' + data + '>'); | ||
name.toLowerCase() === '!doctype' && results.push('<' + data + '>'); | ||
}, | ||
@@ -67,3 +67,3 @@ oncomment: function(data) { | ||
} | ||
}, {xmlMode: true}); | ||
}, {lowerCaseTags: false}); | ||
@@ -70,0 +70,0 @@ parser.write(html); |
{ | ||
"name": "posthtml-parser", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Parse HTML/XML to PostHTMLTree", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
6014