Haml v2.2.10 Release Notes
-
๐ 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 loadinginit.rb
and instead have it basically copy the content. This allows us to transfer the proper binding toHaml.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.