method
escape_html_entities_in_json=
rails latest stable - Class:
ActiveSupport::JSON::Encoding
escape_html_entities_in_json=(value)public
No documentation available.
# File activesupport/lib/active_support/json/encoding.rb, line 121
def escape_html_entities_in_json=(value)
self.escape_regex = if @escape_html_entities_in_json = value
/[\x00-\x1F"\\><&]/
else
/[\x00-\x1F"\\]/
end
end