lib/onebox/sanitize_config.rb in onebox-1.8.15 vs lib/onebox/sanitize_config.rb in onebox-1.8.16
- old
+ new
@@ -17,10 +17,11 @@
},
add_attributes: {
'iframe' => {
'seamless' => 'seamless',
- 'sandbox' => 'allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox',
+ 'sandbox' => 'allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox' \
+ ' allow-presentation',
}
},
transformers: (RELAXED[:transformers] || []) + [
lambda do |env|