My guess is that it precludes one from using the '[' character at the
beginning of a text element. You've now made that character "special" and it
would need to be escaped if is intended to be a text character rather than a
haml element.

Of course, that doesn't mean I'm against it... it's just something to think
about.

:brad

On Fri, Dec 12, 2008 at 3:37 PM, Evgeny <[email protected]> wrote:

> I just noticed that the [ ] notation does not assume the default %div tag
> like #id and .class do.
> So when I expected this to work :
>   [...@product]= "This div had the products class and object id of the
> product"
>
> It only works when I explicitly tell it to be a %div, like so:
>   %d...@product]= "This div had the products class and object id of the
> product"
>
>
> Is there any reason why it should not "just work" with the default?
>
>
> - evgeny
>
>
> >
>


-- 
Bradley Grzesiak
[email protected]
http://toleoandbeyond.blogspot.com

* You have received an email from my personal account. Please do not divulge
this address to any website (eg: evite, shutterfly, etc). I have another
address for such uses; please ask me for it.

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