Comparing version 0.1.3 to 0.1.4
@@ -34,2 +34,5 @@ /* | ||
attr = attr.split('='); | ||
// remove quotes from attributes | ||
if (attr[1] && attr[1].charAt(0).match(/'|"/)) attr[1] = attr[1].slice(1); | ||
if (attr[1] && attr[1].charAt(attr[1].length-1).match(/'|"/)) attr[1] = attr[1].slice(0, -1); | ||
attr = { | ||
@@ -36,0 +39,0 @@ name: attr[0], |
@@ -5,3 +5,3 @@ { | ||
"description": "A minimalistic HTML sanitizer", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"homepage": "https://github.com/ecto/bleach/issues", | ||
@@ -8,0 +8,0 @@ "repository": { |
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
10160
6
197