You can work around this issue like so:
:background
:image= "url(" + !url + ")"
Nathan might even claim that's not a work-around. ;)
-chris
On Sep 25, 9:24 am, Lorin Tackett <[EMAIL PROTECTED]> wrote:
> I also can't quick fix it by doing something like
>
> :background
> :image= !url
>
> and then calling the mixin like:
>
> +image-replacement(24px,50px,url('../images.blah.png'))
>
> On Sep 25, 9:11 am, Lorin Takett <[EMAIL PROTECTED]> wrote:
>
> > I'm doing a mixin like:
>
> > =image-replacement(!height, !width, !url)
> > :display block
> > :height= !height
> > :width= !width
> > :background
> > :image= url('!url')
> > :repeat no-repeat
>
> > .. so as to simplify image replacement, but SASS thinks !url is
> > invalid arithmetic due to the perens.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---