diff --git a/HtmlSanitizer.js b/HtmlSanitizer.js index 6780c14..3a7421a 100644 --- a/HtmlSanitizer.js +++ b/HtmlSanitizer.js @@ -1,4 +1,4 @@ -//JavaScript HTML Sanitizer v2.0.3, (c) Alexander Yumashev, Jitbit Software. +//JavaScript HTML Sanitizer v2.0.4, (c) Alexander Yumashev, Jitbit Software. //homepage https://github.com/jitbit/HtmlSanitizer @@ -91,8 +91,12 @@ const HtmlSanitizer = new (function () { let resultElement = makeSanitizedCopy(doc.body); - return resultElement.innerHTML - .replace(/div>