Escape HTML entities in JSON

This commit is contained in:
Rohan Mitchell
2016-02-11 11:24:42 +11:00
parent 6a2e07064b
commit d79a6d7e19

View File

@@ -102,5 +102,6 @@ module Openfoodnetwork
config.assets.precompile += ['search/all.css', 'search/*.js']
config.assets.precompile += ['shared/*']
config.active_support.escape_html_entities_in_json = true
end
end