Patch applied. Thanks.
Roman Le Négrate wrote:
> I recently found a bug in Sass::Engine:
> When Sass::Engine is instantiated:
>
> sass = Sass::Engine.new("a\n color: red")
>
> ...usually, #render is called only once on it:
>
> sass.render #=> "a {\n color: red; }\n"
>
> ...but when #render is called a second time or more, the results of
> these successive calls stack up with each call:
>
> sass.render #=> "a {\n color: red; }\n\na {\n color: red; }\n"
>
> ...whereas Haml::Engine yields the correct behavior, which consists in
> returning the same result on each call.
>
> You can find a tiny patch (test included) that fixes this:
> http://pastie.org/172781.
> (don't pay attention to the timestamps at the top of the file, they
> are incorrect)
>
> By the way, thanks a lot for both Haml and Sass, they basically saved
> my relationship with HTML and CSS, respectively!
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---