From 7329fe255f74a7b5e3fabeae75bdb1ec8e8a9a95 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Mon, 18 Apr 2016 13:27:07 -0300 Subject: [PATCH] remove sanitized double config --- config/application.rb | 6 ------ 1 file changed, 0 insertions(+), 6 deletions(-) diff --git a/config/application.rb b/config/application.rb index b435d48..dd18f04 100644 --- a/config/application.rb +++ b/config/application.rb @@ -33,12 +33,6 @@ module Noosfero require 'noosfero/multi_tenancy' config.middleware.use Noosfero::MultiTenancy::Middleware - # Adds custom attributes to the Set of allowed html attributes for the #sanitize helper - config.action_view.sanitized_allowed_attributes = 'align', 'border', 'alt', 'vspace', 'hspace', 'width', 'heigth', 'value', 'type', 'data', 'style', 'target', 'codebase', 'archive', 'classid', 'code', 'flashvars', 'scrolling', 'frameborder', 'controls', 'autoplay', 'colspan', 'rowspan', 'usemap', 'shape', 'coords' - - # Adds custom tags to the Set of allowed html tags for the #sanitize helper - config.action_view.sanitized_allowed_tags = 'object', 'embed', 'param', 'table', 'tr', 'th', 'td', 'applet', 'comment', 'iframe', 'audio', 'video', 'source', 'map', 'area' - config.action_controller.include_all_helpers = false # Settings in config/environments/* take precedence over those specified here. -- libgit2 0.21.2