-
Notifications
You must be signed in to change notification settings - Fork 465
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
Unexpected \a between selectors #1328
Comments
This seems already fixed with my latest refactoring branch (//CC @xzyfer) |
I've seen a couple reports of this. It'd be good to have a failing test case to ensure this doesn't regress. I'll work it. |
This PR add specs for sass/libsass#1328
Spec added sass/sass-spec#446 |
it seems that the fix for this is somewhere burried in one of my refactorings ... |
IMO this is not fixed yet, waiting for that fix to come up ... |
It seems this problem only happens if you use windows linefeeds ... |
Hm. This file has LF unix line endings: http://cl.ly/code/2Y21191G2S3p/download/test.app.scss Same problem. |
For what it's worth I was able to reproduce this 100% on OSX |
I stumbled over following issue:
http://sassmeister.com/gist/51e6f8724f98f49ffcf4
will become
instead of
The line-break between the second and third selector gets replaced by
\a
and breaks the CSS.If you remove
.#{$foo}:before,
or append a space or another character to the data-attribute value like[data-attribute="#{$foo} "]:before,
the\a
disappears but the CSS is wrong.As a crude workaround you can replace the double quotes of one(!) selector with single quotes:
will become
When both selectors contain the same quotes (double or single) it breaks again.
The text was updated successfully, but these errors were encountered: