Haml v2.2.18 Release Notes
-
👌 Support the new XSS-protection API used in Rails 3.
🚅 Use
Rails.env
rather thanRAILS_ENV
when running under Rails 3.0. Thanks to Duncan Grazier.➕ Add a
--unix-newlines
flag to all executables for outputting Unix-style newlines on Windows.🛠 Fix a couple bugs with the
:erb
filter: make sure error reporting uses the correct line numbers, and allow multi-line expressions.🛠 Fix a parsing bug for HTML-style attributes including
#
.