Commit 353a24267a3d6a8deebfa235e0e00bf4c7b4079e
1 parent
8a8d83bb
Exists in
master
and in
29 other branches
ActionItem630: added some html attributes to whitelist
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2422 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/environment.rb
... | ... | @@ -55,7 +55,7 @@ Rails::Initializer.run do |config| |
55 | 55 | } |
56 | 56 | |
57 | 57 | # Adds custom attributes to the Set of allowed html attributes for the #sanitize helper |
58 | - config.action_view.sanitized_allowed_attributes = 'align' | |
58 | + config.action_view.sanitized_allowed_attributes = 'align', 'border', 'alt', 'vspace', 'hspace', 'width', 'heigth', 'align' | |
59 | 59 | |
60 | 60 | # See Rails::Configuration for more options |
61 | 61 | ... | ... |