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_onced. 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 the haml 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.