mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
Escape HTML entities in JSON
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user