method
escape_html_entities_in_json=
v3.2.13 -
Show 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 112
def escape_html_entities_in_json=(value)
self.escape_regex = if @escape_html_entities_in_json = value
/[\x00-\x1F"\\><&]/
else
/[\x00-\x1F"\\]/
end
end