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

[cli] css content '\a0' convert to jss is not correct #1595

Open
tobemaster56 opened this issue Jan 21, 2022 · 1 comment
Open

[cli] css content '\a0' convert to jss is not correct #1595

tobemaster56 opened this issue Jan 21, 2022 · 1 comment

Comments

@tobemaster56
Copy link

tobemaster56 commented Jan 21, 2022

https://sudos.tools/css-to-jss, i think this web tool use jss-cli,

image

as you see, content '\a0' represents a space, when it converts to jss, the result is "'\\\\a0'",

then, i convert jss. to css

image

css->jss
'\a0' -> "'\\\\a0'"
then jss->css
"'\\\\a0'" ->'\\a0'

what is expected:
css->jss
'\a0' -> "'\\a0'"
then jss->css
"'\\a0'" ->'\a0'

@KaanCan33
Copy link

Good idea

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