Well I made a changeset that makes the url function escaped, but now that I think about it, it's not the right approach because it precludes url(!my_file_name). I think maybe you're just going to have to add quotes when in evaluation mode (=).
Nathan, do you think there's a bug here? for reference, here's the change I made. I'll be dumping it shortly -- bummer cuz it was pretty clean code. http://github.com/chriseppstein/haml/commit/fa9092798194384df0caaed89407c972a9c07fd0 On Mon, Nov 24, 2008 at 7:32 AM, Chris Eppstein <[EMAIL PROTECTED]>wrote: > > I'll look into this right away. As a work-around for now you can place > your image name in quotes. > > chris > > On Nov 24, 3:43 am, jazen <[EMAIL PROTECTED]> wrote: > > Hello, > > > > i'm using Edge Rails, Ruby 1.8.6 and (Edge) Haml and ran into the > > following issues: > > > > Sass::SyntaxError: Undefined operation "-960 minus yellow" > > ... > > background = !highlight_color url(../images/bg-box-bottom-960- > > yellow.png) no-repeat 0 bottom > > > > Sass::SyntaxError: Expected expression, was and token > > ... > > background = transparent url(../images/repl-de-logo-and-slogan.png) no- > > repeat 11px 0 > > > > and Sass evaluates color aliases into their codes, e.g.: > > > > background-image = url(../images/bg-arrow-red-down.gif) > > becomes > > background-image = url(../images/bg-arrow-#ff0000-down.gif) > > (Firebug revealed this) > > > > /jazen > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
