Actually, the "color: red" syntax is also valid as of Haml 1.7 (see the 
second paragraph of the Attributes section you cited). In fact, weepy 
was the one to create the patch for it.

Weepy, this is indeed a bug. I'll try to fix it soon.

- Nathan

John Wulff wrote:
> According to http://haml.hamptoncatlin.com/docs/sass you should be
> putting your colons in front of your attribute names.
> Instead of this:
> color: red
> should be this:
> :color red
>
> I don't know that this will solve the problem, but it couldn't hurt...
>
> On Aug 14, 3:03 pm, weepy <[EMAIL PROTECTED]> wrote:
>   
>> ~~~~~~~~~
>> #content, #header
>>   margin: 0px auto
>>   width: 800px
>>
>> #content
>>
>>   h1
>>     font-size: 20px
>>   .flash
>>     color: red
>> ~~~~~~~~~~
>>
>> produces :
>>
>> ~~~~~~~~~~~~
>> #content, #header {
>>   margin: 0px auto;
>>   width: 800px; }
>>
>> h1 {
>>   font-size: 20px; }
>>
>> .flash {
>>   color: red; }
>> ~~~~~~~~~~~~
>>
>> but
>>
>> ~~~~~~~~~~~~~
>> #content, #header
>>   margin: 0px auto
>>   width: 800px
>>
>> #content
>>   h1
>>     font-size: 20px
>>   .flash
>>     color: red
>> ~~~~~~~~~~~~
>>
>> works as expected.
>>     
>
>
> >
>
>   


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