Comparing version 1.5.0 to 1.5.1
@@ -7,3 +7,3 @@ var sax = require('sax'); | ||
'opentag', 'attribute', 'opencdata', 'closecdata', | ||
'closetag', 'script', 'comment', 'text' | ||
'closetag', 'script', 'comment', 'text', 'doctype' | ||
]; | ||
@@ -10,0 +10,0 @@ |
{ | ||
"name" : "trumpet", | ||
"version" : "1.5.0", | ||
"version" : "1.5.1", | ||
"description" : "parse and transform streaming html using css selectors", | ||
@@ -5,0 +5,0 @@ "main" : "index.js", |
@@ -25,3 +25,4 @@ var trumpet = require('../'); | ||
body.toString(), | ||
'<html>\n<body>\n<B>beep boop.</B>\n</body>\n</html>\n' | ||
'<!doctype html>\n' | ||
+ '<html>\n<body>\n<B>beep boop.</B>\n</body>\n</html>\n' | ||
); | ||
@@ -51,3 +52,5 @@ })); | ||
body.toString(), | ||
'<html>\n<body>\n<div class="x">beep boop.</div>\n</body>\n</html>\n' | ||
'<!doctype html>\n' | ||
+ '<html>\n<body>\n<div class="x">beep boop.</div>\n' | ||
+ '</body>\n</html>\n' | ||
); | ||
@@ -54,0 +57,0 @@ })); |
Sorry, the diff of this file is not supported yet
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
48770
1216