Haml v2.2.10 Release Notes

  • Tagged on GitHub.

    • ๐Ÿ›  Fixed a bug where elements with dynamic attributes and no content would have too much whitespace between the opening and closing tag.

    • ๐Ÿ”„ Changed rails/init.rb away from loading init.rb and instead have it basically copy the content. This allows us to transfer the proper binding to Haml.init_rails.

    • ๐Ÿ‘‰ Make sure Haml only tries to enable XSS protection integration once all other plugins are loaded. This allows it to work properly when Haml is a gem and the rails_xss plugin is being used.

    • Mark the return value of Haml templates as HTML safe. This makes Haml partials work with Rails' XSS protection.