mirror of
https://github.com/miniflux/v2.git
synced 2025-07-22 17:18:37 +00:00
Add 'allow-popups' to iframe sandbox permissions
This commit is contained in:
parent
3a483be258
commit
304b43cb30
2 changed files with 7 additions and 7 deletions
|
@ -137,7 +137,7 @@ func getExtraAttributes(tagName string) ([]string, []string) {
|
|||
case "video", "audio":
|
||||
return []string{"controls"}, []string{"controls"}
|
||||
case "iframe":
|
||||
return []string{"sandbox"}, []string{`sandbox="allow-scripts allow-same-origin"`}
|
||||
return []string{"sandbox"}, []string{`sandbox="allow-scripts allow-same-origin allow-popups"`}
|
||||
default:
|
||||
return nil, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue