class method self.escape_html_entities_in_json=

Ruby on Rails 2.2.3

Last seen in v2.2.3

Signature

self.escape_html_entities_in_json=(value)

No documentation comment.

Parameters

value req
Source
# 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

Defined in activesupport/lib/active_support/json.rb line 10 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close