From 7175af05d7a96f6031e2a2870c87728e83c1397a Mon Sep 17 00:00:00 2001 From: f Date: Thu, 25 Feb 2021 18:01:56 -0300 Subject: [PATCH] permitir atributos de multimedia --- app/models/metadata_template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/metadata_template.rb b/app/models/metadata_template.rb index c763d78..60b879a 100644 --- a/app/models/metadata_template.rb +++ b/app/models/metadata_template.rb @@ -172,7 +172,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type, end def allowed_attributes - @allowed_attributes ||= %w[style href src alt controls data-align id].freeze + @allowed_attributes ||= %w[style href src alt controls data-align data-multimedia data-multimedia-inner id].freeze end def allowed_tags