haml/haml — pull request #518 by koszta (2012-05-02 16:08:16+00:00)
Title: Flatten data attributes

%div{:data => {:foo => {:bar => 'blip'}}}

Previously this line was compiled to:

So, If I provide a hash inside the data hash, it just returns the string representation of it, which is not useful at all.
I think it's necessary to provide the ability to store structured data in these attributes.

With this change that line will be complied like this: