No documentation

This module has no description. You can help the Ruby on Rails community by adding new notes.

Constants

JSON_ESCAPE_REGEXP = /[\u2028\u2029&><]/u

HTML_ESCAPE_ONCE_REGEXP = /["><']|&(?!([a-zA-Z]+|(#\d+)|(#[xX][\dA-Fa-f]+));)/

HTML_ESCAPE_REGEXP = /[&"'><]/

JSON_ESCAPE = { '&' => '\u0026', '>' => '\u003e', '<' => '\u003c', "\u2028" => '\u2028', "\u2029" => '\u2029' }

HTML_ESCAPE = { '&' => '&', '>' => '>', '<' => '<', '"' => '"', "'" => ''' }

Attributes

Show files where this module is defined (1 file)
Register or log in to add new notes.
April 23, 2009
0 thanks

Real HTML_ESCAPE VALUE

Real value:

HTML_ESCAPE = { '&' => '&',  '>' => '>',   '<' => '<', '"' => '"' }