lib/onebox/sanitize_config.rb in onebox-2.2.11 vs lib/onebox/sanitize_config.rb in onebox-2.2.12
- old
+ new
@@ -4,10 +4,10 @@
module Config
HTTP_PROTOCOLS ||= ['http', 'https', :relative].freeze
ONEBOX ||= freeze_config merge(RELAXED,
- elements: RELAXED[:elements] + %w[audio embed iframe source video svg path],
+ elements: RELAXED[:elements] + %w[audio details embed iframe source video svg path],
attributes: {
'a' => RELAXED[:attributes]['a'] + %w(target),
'audio' => %w[controls controlslist],
'embed' => %w[height src type width],