Hi Guys, I'm having a parse problem using blocks on a HAML file.

Example:

- @item.each do | item |
  = item.title
.....................................
.....................................

To solve the problem I should remove the spaces after the first pipe
and before the last one, like this:

- @item.each do |item|
  = item.title
.....................................
.....................................

Is this related with the multiline string syntax?

Regards,
--
NeX


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to