On Wed, Mar 18, 2009 at 20:05, Josh <[email protected]> wrote:

>
> .item{:id => item.id}= item.body
>
> dom ids aren't supposed to start with a number...


That's right. Also, the above example is much better represented as:

  %div[item]= item.body

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