From 8d5e1e860d796629d2562bccee020bc7c723ccb1 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 16 Nov 2020 13:09:04 -0300 Subject: [PATCH] typo --- app/models/metadata_template.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/metadata_template.rb b/app/models/metadata_template.rb index 2aedadf..1829b9d 100644 --- a/app/models/metadata_template.rb +++ b/app/models/metadata_template.rb @@ -123,18 +123,18 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type, tags: allowed_tags, attributes: allowed_attributes, scrubber: scrubber).strip.html_safe - en, + end def sanitizer @sanitizer ||= Rails::Html::Sanitizer.safe_list_sanitizer.new end def allowed_attributes - @allowed_attributes ||= %w[style src alt controls data-align] + @allowed_attributes ||= %w[style src alt controls data-align].freeze end def allowed_tags - @allowed_tags ||= %w[strong em del u mark p h1 h2 h3 h4 h5 h6 ul ol li img iframe audio video div] + @allowed_tags ||= %w[strong em del u mark p h1 h2 h3 h4 h5 h6 ul ol li img iframe audio video div].freeze end # Decifra el valor