On Oct 19, 6:26 am, "Mislav Marohnić" <[EMAIL PROTECTED]>
wrote:
> Here is what the syntax would be (feedback please):
>
> %table -- <table>
> %.odd -- <tr class="odd">
> % foo -- <td>foo</td>
> % bar -- <td>bar</td>
> %.even
> ...
>
> So, the "%" character without tag name would mean "the most common HTML
> element allowed in this context".
My vote would be a no. I think more syntactic sugar makes Haml less
obvious. Hampton's suggestion of using the dot only would be even
worse. Let's not try and get too clever here, please :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---