Method: ActiveSupport::JSON::Encoding.escape_html_entities_in_json=
- Defined in:
- activesupport/lib/active_support/json/encoding.rb
.escape_html_entities_in_json=(value) ⇒ Object
If true, encode >, <, & as escaped unicode sequences (e.g. > as u003e) as a safety measure.
124 125 126 |
# File 'activesupport/lib/active_support/json/encoding.rb', line 124 def escape_html_entities_in_json=(value) @escape_html_entities_in_json = value end |