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