Commit 7329fe255f74a7b5e3fabeae75bdb1ec8e8a9a95

Authored by Leandro Santos
1 parent af86ac8d
Exists in staging and in 1 other branch production

remove sanitized double config

Showing 1 changed file with 0 additions and 6 deletions   Show diff stats
config/application.rb
... ... @@ -33,12 +33,6 @@ module Noosfero
33 33 require 'noosfero/multi_tenancy'
34 34 config.middleware.use Noosfero::MultiTenancy::Middleware
35 35  
36   - # Adds custom attributes to the Set of allowed html attributes for the #sanitize helper
37   - 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'
38   -
39   - # Adds custom tags to the Set of allowed html tags for the #sanitize helper
40   - config.action_view.sanitized_allowed_tags = 'object', 'embed', 'param', 'table', 'tr', 'th', 'td', 'applet', 'comment', 'iframe', 'audio', 'video', 'source', 'map', 'area'
41   -
42 36 config.action_controller.include_all_helpers = false
43 37  
44 38 # Settings in config/environments/* take precedence over those specified here.
... ...