Module: ERB::Util
- Defined in:
- opal/stdlib/erb.rb
Class Method Summary collapse
Class Method Details
.h ⇒ Object
12 13 14 |
# File 'opal/stdlib/erb.rb', line 12 def html_escape(str) `return ("" + str).replace(escape_regexp, function (m) { return escapes[m] });` end |
.html_escape(str) ⇒ Object
8 9 10 |
# File 'opal/stdlib/erb.rb', line 8 def html_escape(str) `return ("" + str).replace(escape_regexp, function (m) { return escapes[m] });` end |