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