Haml v3.1.0 Release Notes
-
๐ Don't add a
type
attribute to<script>
and<style>
tags generated by filters when:format
is set to:html5
.Add an {file:HAML_REFERENCE.md#escape_attrs-option
:escape_attrs
option} that allows attributes to either remain unescaped (for things like embedding PHP directives in Haml) or to be always escaped rather than#escape_once
d. This can also be used from the command line via--no-escape-attrs
.๐ Allow custom filters to be loaded from the command line.
Backwards Incompatibilities -- Must Read!
๐ Get rid of the
--rails
flag for thehaml
executable. This flag hasn't been necessary since Rails 2.0. Existing Rails 2.0 installations will continue to work.โฌ๏ธ Drop support for Hpricot 0.7. 0.8 has been out for nearly two years.