mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:30 -06:00
Allow more iframe attributes
This commit is contained in:
parent
443cc052c3
commit
7d1803ac82
@ -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…
Reference in New Issue
Block a user