sanitize-html
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "sanitize-html", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis", | ||
@@ -27,2 +27,2 @@ "main": "index.js", | ||
} | ||
} | ||
} |
@@ -40,3 +40,6 @@ var assert = require("assert"); | ||
}); | ||
it('should dump comments', function() { | ||
assert.equal(sanitizeHtml('<p><!-- Blah blah -->Whee</p>'), '<p>Whee</p>'); | ||
}); | ||
}); | ||
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
16803
169