From a5541c662807d4af2161f52cb788010e0367ab34 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 16 Nov 2020 13:15:23 -0300 Subject: [PATCH] sin scrubber --- app/models/metadata_template.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/metadata_template.rb b/app/models/metadata_template.rb index 1829b9d..7149bcd 100644 --- a/app/models/metadata_template.rb +++ b/app/models/metadata_template.rb @@ -121,8 +121,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type, sanitizer.sanitize(string.tr("\r", ''), tags: allowed_tags, - attributes: allowed_attributes, - scrubber: scrubber).strip.html_safe + attributes: allowed_attributes).strip.html_safe end def sanitizer