lib/onebox/sanitize_config.rb in onebox-1.8.74 vs lib/onebox/sanitize_config.rb in onebox-1.8.75
- old
+ new
@@ -42,8 +42,12 @@
protocols: {
'embed' => { 'src' => HTTP_PROTOCOLS },
'iframe' => { 'src' => HTTP_PROTOCOLS },
'source' => { 'src' => HTTP_PROTOCOLS },
},
+
+ css: {
+ properties: RELAXED[:css][:properties] + %w[--aspect-ratio]
+ }
)
end
end