module Haml::Filters::Escaped

Works the same as {Plain}, but HTML-escapes the text before placing it in the document.

Public Instance Methods

render(text) click to toggle source

@see Haml::Filters::Base#render

# File lib/haml/filters.rb, line 269
def render(text)
  Haml::Helpers.html_escape text
end