Browse Source

Allow more iframe attributes

pull/5314/head
peteruithoven 2 years ago
parent
commit
7d1803ac82
1 changed files with 1 additions and 1 deletions
  1. 2
      server/modules/rendering/html-security/renderer.js

2
server/modules/rendering/html-security/renderer.js

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

Loading…
Cancel
Save