# Haml Changelog * Table of contents {:toc} ## 2.4.0 (Unreleased) ### Object Reference Customization It's now possible to customize the name used for {file:HAML_REFERENCE.md#object_reference_ object reference} for a given object by implementing the `haml_object_ref` method on that object. This method should return a string that will be used in place of the class name of the object in the generated class and id. ### More Powerful `:autoclose` Option The {file:HAML_REFERENCE.md#attributes_option `:attributes`} option can now take regular expressions that specify which tags to make self-closing. ### `--double-quote-attributes` Option The Haml executable now has a `--double-quote-attributes` option (short form: `-q`) that causes attributes to use a double-quote mark rather than single-quote. ### `haml-spec` Integration We've added the cross-implementation tests from the [haml-spec](http://github.com/norman/haml-spec) project to the standard Haml test suite, to be sure we remain compatible with the base functionality of the many and varied [Haml implementations](http://en.wikipedia.org/wiki/Haml#Implementations). ### Ruby 1.9 Support Haml and `html2haml` now produce more descriptive errors when given a template with invalid byte sequences for that template's encoding, including the line number and the offending character. ### `:css` Filter Haml now supports a {file:HAML_REFERENCE.md#css-filter `:css` filter} that surrounds the filtered text with `