]> git.openstreetmap.org Git - rails.git/blob - config/initializers/sanitize.rb
Update to rails-i18n 0.5.2 and remove monkey patch
[rails.git] / config / initializers / sanitize.rb
1 Sanitize::Config::OSM = Sanitize::Config::RELAXED.dup
2
3 Sanitize::Config::OSM[:add_attributes] = { 'a' => { 'rel' => 'nofollow' } }
4 Sanitize::Config::OSM[:remove_contents] = [ 'script', 'style' ]