diff --git a/app/models/metadata_template.rb b/app/models/metadata_template.rb index 8fa5a97..05db25f 100644 --- a/app/models/metadata_template.rb +++ b/app/models/metadata_template.rb @@ -168,7 +168,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type, end def allowed_attributes - @allowed_attributes ||= %w[style href src alt controls data-align].freeze + @allowed_attributes ||= %w[style href src alt controls data-align id].freeze end def allowed_tags