lettersanitizer
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -198,3 +198,5 @@ "use strict"; | ||
} | ||
else if ('cssRules' in rule) { | ||
else if ('cssRules' in rule && 'media' in rule) { | ||
// According to https://www.caniemail.com/, | ||
// out of all at-rules, Gmail only supports @media. | ||
const mediaRule = rule; | ||
@@ -201,0 +203,0 @@ const newRulesMedia = []; |
{ | ||
"name": "lettersanitizer", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "DOM-based HTML email sanitizer for in-browser email rendering.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
23993
656