method
escape_html_entities_in_json=
rails latest stable - Class:
ActiveSupport
escape_html_entities_in_json=(value)public
No documentation available.
# File activesupport/lib/active_support/json.rb, line 10
def escape_html_entities_in_json=(value)
ActiveSupport::JSON::Encoding.escape_regex = \
if value
/[\010\f\n\r\t"\\><&]/
else
/[\010\f\n\r\t"\\]/
end
@escape_html_entities_in_json = value
end