Closed PhilipGarnero closed 8 years ago
Changing this to def append(lst, val, separator="space"):
fixed it for me.
Unfortunately, this breaks the append()
function (tested in tests/files/kronuz/selectors-append-nest.scss
).
...or maybe that test in selectors-append-nest.scss
is wrong?
I think the test is wrong.
When I try to compile it using libsass python bindings or sass gem I get these errors :
libsass : selectors-append-nest.scss:7: error: unterminated argument to nest(...)
sass : Syntax error: Invalid CSS after "nest": expected selector, was "("&, &:hover", ..." on line 7 of selectors-append-nest.scss
I had the same issue and I can confirm that the fix above works.
Fixed in 1.3.5 (though the above fix was not actually correct).
Hello ! I just came across a small issue about the append function. By default pyscss append will separate using commas when it should separate using spaces.
I've set a small example for you to reproduce: First, you'll need to install sass along pyscss (sass is a python bindings library using libsass)
pip install pyscss sass
Now, a small test script:And then the scss file:
The output we get: