Merge pull request #28 from zerebubuth/routing-ui-tweaks-2
[rails.git] / config / initializers / sanitize.rb
1 Sanitize::Config::OSM = Sanitize::Config::RELAXED.dup
2
3 Sanitize::Config::OSM[:elements] -= [ 'div', 'style' ]
4 Sanitize::Config::OSM[:add_attributes] = { 'a' => { 'rel' => 'nofollow' } }
5 Sanitize::Config::OSM[:remove_contents] = [ 'script', 'style' ]