- Defined in:
Inserts the filtered text into the template with whitespace preserved.
preserved blocks of text aren't indented, and newlines are replaced with
the HTML escape code for newlines, to preserve nice-looking output.
Instance Method Summary collapse
Methods included from
, , ,
Instance Method Details
308 309 310
# File 'lib/haml/filters.rb', line 308 def render(text) Haml::Helpers.preserve text end