Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Encoded lists only contain the first element (libSass 3.3) #88

Open
p2media opened this issue Sep 25, 2015 · 1 comment
Open

Encoded lists only contain the first element (libSass 3.3) #88

p2media opened this issue Sep 25, 2015 · 1 comment

Comments

@p2media
Copy link
Contributor

p2media commented Sep 25, 2015

This is not a bug in SassyJSON, rather than it's a bug in libSass.
There is already an issue for this: sass/libsass#1566
I just want to inform you.

scss:

$map: (first, second, third, fourth);

body {
    content: call("_json-encode--list", $map);
    font-family: _json-encode--list($map);
}

CSS:

body {
    content: '["first"]';
    font-family: '["first", "second", "third", "fourth"]'
}

Using:

node-sass   3.4.0-beta1 (Wrapper)   [JavaScript]
libsass     3.3.0-beta2 (Sass Compiler) [C/C++]
@KittyGiraudel
Copy link
Owner

Ouh, that's bad. Thanks for reporting.

p2media added a commit to p2media/SassyJSON that referenced this issue Sep 25, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants