Allow more iframe attributes

This commit is contained in:
peteruithoven 2022-05-21 13:55:49 +02:00
parent 443cc052c3
commit 7d1803ac82

View File

@ -29,7 +29,7 @@ module.exports = {
if (config.allowIFrames) {
allowedTags.push('iframe')
allowedAttrs.push('allow')
allowedAttrs.push('allow', 'frameborder', 'allowfullscreen')
}
input = DOMPurify.sanitize(input, {