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

Escaped characters in selectors #1977

Closed
qblake opened this issue Apr 5, 2016 · 1 comment
Closed

Escaped characters in selectors #1977

qblake opened this issue Apr 5, 2016 · 1 comment

Comments

@qblake
Copy link

qblake commented Apr 5, 2016

Hi! I try to compile scss with some escaped characters in id-selector.

host-103:bin blake$ ./sassc -v
sassc: 3.3.3
libsass: 3.3.4-2-g1409
sass2scss: 1.0.5
host-103:bin blake$ cat ./test_style.scss
body#some-\(selector\) {
color: red;
}

And it failed.

host-103:bin blake$ ./sassc ./test_style.scss
Error: Invalid CSS after "body#some-\\": expected "{", was "(selector\\) {"
        on line 1 of test_style.scss
>> body#some-\(selector\) {
   ----^

But with Ruby Sass v3.4.21 it ends successfully https://gist.github.com/qblake/891681ad8ba3791c5112ccfdbe4d387a

@mgreter mgreter added this to the 3.3.5 milestone Apr 5, 2016
@mgreter mgreter self-assigned this Apr 5, 2016
mgreter added a commit to mgreter/libsass that referenced this issue Apr 5, 2016
@mgreter
Copy link
Contributor

mgreter commented Apr 5, 2016

Another similar failing case that works with #1978

#äöü  {
  color: reds;
}

mgreter added a commit to mgreter/libsass that referenced this issue Apr 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants