The Hamlicious way to do this is
%p
I went to the
- succeed ',' do
= shops
so crossed the road
Note that
%p
I went to the |
= "shops" |
, so crossed the road |
doesn't actually work... the multiline operator, "|", causes Haml to
parse everything as though it were one line. Thus, it reads that as
%p
I went to the = "shops" , so crossed the road
and outputs
<p>I went to the = "shops" , so crossed the road</p>
- Nathan
Chris Abad wrote:
> %p= "I went to the #{shops}, so crossed the road"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---