Kronuz / pyScss

pyScss, a Scss compiler for Python
MIT License
582 stars 141 forks source link

Variable Shorthand Property Bug #319

Closed mdiener closed 9 years ago

mdiener commented 9 years ago

When writing the following property in to a variable: url("images/icon.svg") left top/25px 25px no-repeat; it is being translated to url("images/icon.svg") left "top/25px" 25px no-repeat; which is invalid css, instead of url("images/icon.svg") left top/25px 25px no-repeat; which would be correct.

When doing the same thing without a variable, meaning assigning the shorthand property directly to, for example background, it is being translated to url("images/icon.svg") left top / 25px 25px no-repeat; which is, for all intents and purposes, correct.

eevee commented 9 years ago

Looks like this has been wrong for a while. Fixed in master, should do a release soon, thanks!