Hi,

I've got the following piece of code in my haml template:


    %style{ :type => "text/css" }
      :sass
        #wrapper
          :display none


This works fine in rails in development mode. But to my surprise, in 
production this fails with the following error message:


    Attributes aren't allowed at the root of a document.


Is that a (known) bug?



Lawrence

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