From 0fd8e5450cdb746d6f11925ecb8b13e78566a365 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 25 Nov 2020 20:57:50 -0300 Subject: [PATCH] permitir vinculos! --- 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 3fc63c88..17775c47 100644 --- a/app/models/metadata_template.rb +++ b/app/models/metadata_template.rb @@ -154,7 +154,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type, 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 figure figcaption].freeze + @allowed_tags ||= %w[strong em del u mark p h1 h2 h3 h4 h5 h6 ul ol li img iframe audio video div figure figcaption a].freeze end # Decifra el valor