So far, both the suggestions given here as well as {foo="bar", 
baz="bang"} are being considered. More may come up in the future.

weepy wrote:
>   
>> We're currently considering alternative, more concise attribute syntaxes.
>>     
>
> What are the alternative sytnaxes that you are considering ?
>
> On 12 Nov, 17:22, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>   
>> We're currently considering alternative, more concise attribute syntaxes.
>>
>> weepy wrote:
>>     
>>> or perhaps square brackets would be better ?
>>>       
>>> #td[colspan="2" style="color: red"]
>>>       
>>> (note that I even made a mistake in my conversion to ruby in the first
>>> example!)
>>>       
>>> On 12 Nov, 10:55, weepy <[EMAIL PROTECTED]> wrote:
>>>       
>>>> The only thing in HAML that I find is a PITA is having to specify
>>>> attributes as a hash.
>>>> This is particularily annoying when converting some HTML -> HAML (yes
>>>> I know there's a converter - but it's not always that straight forward
>>>> e.g. if it's actually ERB) :)
>>>>         
>>>> Would it be possible to do something like
>>>>         
>>>> #td(colspan="2" style="color: red")
>>>>         
>>>> as an alternative to
>>>>         
>>>> #td{ :colspan=>"2" :style=>"color: red"}
>>>>         
>>>> ?
>>>>         
> >
>
>   


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