Module: Haml::Filters::Preserve
- Includes:
- Base
- Defined in:
- lib/haml/filters.rb
Overview
Inserts the filtered text into the template with whitespace preserved.
preserve
d blocks of text aren’t indented, and newlines are replaced with
the HTML escape code for newlines, to preserve nice-looking output.