Commit e781c19002955f590975d0eaa828f97b477a8a6c
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'hotfixes' into stable
* hotfixes: Allow shape and coords html attributes
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/application.rb
... | ... | @@ -20,7 +20,7 @@ module Noosfero |
20 | 20 | require 'noosfero/plugin' |
21 | 21 | |
22 | 22 | # Adds custom attributes to the Set of allowed html attributes for the #sanitize helper |
23 | - 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' | |
23 | + 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' | |
24 | 24 | |
25 | 25 | # Adds custom tags to the Set of allowed html tags for the #sanitize helper |
26 | 26 | config.action_view.sanitized_allowed_tags = 'object', 'embed', 'param', 'table', 'tr', 'th', 'td', 'applet', 'comment', 'iframe', 'audio', 'video', 'source', 'map', 'area' | ... | ... |