From 353a24267a3d6a8deebfa235e0e00bf4c7b4079e Mon Sep 17 00:00:00 2001 From: MoisesMachado Date: Wed, 27 Aug 2008 23:00:30 +0000 Subject: [PATCH] ActionItem630: added some html attributes to whitelist --- config/environment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environment.rb b/config/environment.rb index 82e0bea..75f88a1 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -55,7 +55,7 @@ Rails::Initializer.run do |config| } # Adds custom attributes to the Set of allowed html attributes for the #sanitize helper - config.action_view.sanitized_allowed_attributes = 'align' + config.action_view.sanitized_allowed_attributes = 'align', 'border', 'alt', 'vspace', 'hspace', 'width', 'heigth', 'align' # See Rails::Configuration for more options -- libgit2 0.21.2