sanitize-html-plus
Advanced tools
Comparing version 1.11.4-3 to 1.11.4-4
@@ -292,2 +292,5 @@ var htmlparser = require('htmlparser2'); | ||
if (a === 'style') | ||
return s.replace(/\"/g, '\''); | ||
if (typeof(s) !== 'string') { | ||
@@ -294,0 +297,0 @@ s = s + ''; |
{ | ||
"name": "sanitize-html-plus", | ||
"version": "1.11.4-3", | ||
"version": "1.11.4-4", | ||
"description": "Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
55120
844