less.ruby icon indicating copy to clipboard operation
less.ruby copied to clipboard

Filter Syntax Error

Open soffes opened this issue 15 years ago • 1 comments

If you try to add the following code to a selector, a parse error will result:

filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=@top-color, endColorstr=@bottom-color, GradientType=1);

on line 30: expected one of , ; } got ' after:

A lot of the filter values contain colons and other weird characters (thanks Microsoft). Escaping them would be acceptable, but it would obviously be preferred if Less just handled this correctly.

soffes avatar Nov 23 '09 17:11 soffes

yeah this would be very useful - the syntax %{ ...returned as it is... } maight be good enough for this

jtousek avatar Nov 24 '09 06:11 jtousek