Sanitize add more tags

I have added the following snippet to environment.rb:

Rails::Initializer.run do |config|
config.action_view.sanitized_allowed_tags = ‘table’, ‘tr’, ‘td’, ‘th’
end

But it doesn’t work, my tags still get removed. Any idea why it is
happening?

FIXED: I had to restart the server, even in development mode.

On Oct 18, 5:57 pm, Fernando P. [email protected]
wrote:

FIXED: I had to restart the server, even in development mode.

Changes to environment.rb and similar are never picked up without a
restart.

Fred