Unverified Commit 79c5b8fa authored by Иван's avatar Иван Committed by GitHub

fix: security html module removes allow attribute from iframes (#2354)

* fix: secure html module removes allowfullscreen, allow and frameborder attributes from iframes * Apply suggestions from code review fix: remove deprecated attributes for iframe in secure html module Co-authored-by: 's avatarNicolas Giard <github@ngpixel.com>
parent 660b78d9
......@@ -29,6 +29,7 @@ module.exports = {
if (config.allowIFrames) {
allowedTags.push('iframe')
allowedAttrs.push('allow')
}
input = DOMPurify.sanitize(input, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment