jessemiller/HamlPy — Issue #52: Newlines not working for %img?
Author: md3sum
Created: 2011-11-23 13:26:55+00:00
State: open

Hi,
I noticed that you can separate long dictionary values for a tag like %script. I tried that, and it worked.
But if I try to do this:

'''haml
%div{'class': 'row'}
%img{'src': '/static/imgs/ibl_logo.gif',
'alt': 'IBL Logo'}
%br
'''

It does not work and second line, i.e. **'alt'** tag prints on a second line. I have tried different ways to see if it could work but I am lost at it and hence decided to file it as a bug. If it is not, my apologies.