Flowdock

No documentation

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

Constants

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

JSON_ESCAPE = { '&' => '\u0026', '>' => '\u003E', '<' => '\u003C' }

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

JSON_ESCAPE_REGEXP = /[&"><]/

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 = { '&' => '&',  '>' => '>',   '<' => '<', '"' => '"' }