Multiple Haml Elements on Same Line

Posted by Ethan Turkeltaub on Stack Overflow See other posts from Stack Overflow or by Ethan Turkeltaub
Published on 2010-03-13T03:31:31Z Indexed on 2010/03/13 3:37 UTC
Read the original article Hit count: 223

Filed under:
|

I want to be able to have two Haml elements on the same line. For example:

%h1 %a{:href => '/'} Professio.

That doesn't work. How would I get something like this to work without borking?

© Stack Overflow or respective owner

Related posts about haml

Related posts about sinatra