diff --git a/app/models/metadata_template.rb b/app/models/metadata_template.rb index 44bb5698..c8ac0df7 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