From 2e7c1d23f44349ae46e69a80b5942a1a4443a95d Mon Sep 17 00:00:00 2001 From: f Date: Fri, 26 Mar 2021 10:27:50 -0300 Subject: [PATCH] guardar el atributo name #331 --- app/models/metadata_template.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/metadata_template.rb b/app/models/metadata_template.rb index 44bb569..c8ac0df 100644 --- a/app/models/metadata_template.rb +++ b/app/models/metadata_template.rb @@ -172,7 +172,8 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type, end def allowed_attributes - @allowed_attributes ||= %w[style href src alt controls data-align data-multimedia data-multimedia-inner id].freeze + @allowed_attributes ||= %w[style href src alt controls data-align data-multimedia data-multimedia-inner id + name].freeze end def allowed_tags