module Haml::Filters::Escaped
Works the same as {Plain}, but HTML-escapes the text before placing it in the document.
Public Instance Methods
Source
# File lib/haml/filters.rb, line 264 def render(text) Haml::Helpers.html_escape text end
@see Base#render