Module: Haml::Filters::Escaped
- Includes:
- Base
- Defined in:
- /var/build/temp/tmp.g5C1f6zb2g/4.0-0-0/ruby-haml/ruby-haml-3.1.6/lib/haml/filters.rb
Overview
Works the same as Plain, but HTML-escapes the text before placing it in the document.
Instance Method Summary (collapse)
Methods included from Base
#compile, included, #internal_compile, #lazy_require, #render_with_options
Instance Method Details
- render(text)
256 257 258 |
# File '/var/build/temp/tmp.g5C1f6zb2g/4.0-0-0/ruby-haml/ruby-haml-3.1.6/lib/haml/filters.rb', line 256
def render(text)
Haml::Helpers.html_escape text
end
|