Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty JSON value #15

Open
coxrichuk opened this issue Dec 22, 2016 · 1 comment
Open

Empty JSON value #15

coxrichuk opened this issue Dec 22, 2016 · 1 comment

Comments

@coxrichuk
Copy link

I am not sure if this project is still being maintained?

Would you consider seeking a maintainer?

Anyway back to the problem at hand sending through an empty value the SCSS map is returning a none quoted SCSS map value. Which then breaks SCSS the compiler.

For example I am sending through:

{ "some-key" : { "value" : "" } }

The SCSS Map is being output as:

( some-key : ( value: ) )

Ideally this would be output as:

( some-key : ( value: "" ) )

@rlapoele
Copy link

@coxrichuk - you probably could (have) solve(d) your issue using:

{ "some-key" : { "value": "\"\"" } }

or

{ "some-key" : { "value": "''" } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants