From 0fcf6be5912493b3f9bbe6286edcd6aa0c2ccd0e Mon Sep 17 00:00:00 2001 From: f Date: Tue, 17 Mar 2020 14:49:39 -0300 Subject: [PATCH] permitir metadatos de trix --- 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 7a4fb6f..375a20f 100644 --- a/app/models/metadata_template.rb +++ b/app/models/metadata_template.rb @@ -85,7 +85,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type, sanitizer.sanitize(string, tags: allowed_tags, - attributes: allowed_attributes, + attributes: allowed_attributes + %w[data-trix-attachment], scrubber: scrubber).strip.html_safe end end