Module: Haml::Filters::Escaped
- Includes:
- Base
- Defined in:
- /var/www/sass-pages/.haml/lib/haml/filters.rb
Overview
Works the same as Plain, but HTML-escapes the text before placing it in the document.
Instance Method Summary
Methods included from Base
#compile, included, #internal_compile, #lazy_require, #render_with_options
Instance Method Details
- render(text)
249 250 251 |
# File '/var/www/sass-pages/.haml/lib/haml/filters.rb', line 249
def render(text)
Haml::Helpers.html_escape text
end
|