lib/onebox/sanitize_config.rb in onebox-2.0.1 vs lib/onebox/sanitize_config.rb in onebox-2.0.2
- old
+ new
@@ -12,10 +12,10 @@
'a' => RELAXED[:attributes]['a'] + %w(target),
'audio' => %w[controls],
'embed' => %w[height src type width],
'iframe' => %w[allowfullscreen frameborder height scrolling src width data-original-href],
'source' => %w[src type],
- 'video' => %w[controls height loop width autoplay muted poster],
+ 'video' => %w[controls height loop width autoplay muted poster controlslist playsinline],
'path' => %w[d],
'svg' => ['aria-hidden', 'width', 'height', 'viewbox'],
'div' => [:data], # any data-* attributes,
'span' => [:data], # any data-* attributes
},