-
Notifications
You must be signed in to change notification settings - Fork 461
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
Multiline strings with backslashes are silently truncated #942
Comments
Oddly enough, the above now works when I remove the |
Libsass now much more correctly parses escaped chars. Maybe ruby sass has a special rule for lines with trailing backslashes, which I probably didn't encounter when I did the refactoring. Anyway, seems easy enough to support. But in term of CSS the backslash there does not make much sense IMO! |
sass/sass#1237 may be of interest regarding the backslash. It was my understanding that backslashes to denote multiline strings was valid CSS and should therefore be valid Sass/SCSS. |
Spec added sass/sass-spec#278 |
Handle trailing backslash + newline token sass#942
Handle trailing backslash + newline token sass#942
Handle trailing backslash + newline token sass#942
I can reproduce this issue with current master. |
Unfortunately I, Travis-CI and Appveyor cannot reproduce the issue. |
Can you open a new issue for that with expected and actual output! Thanks! |
There used to be a couple specs dealing with windows line ending but I fear that may have broken since we've auto generated the specs a couple times recently. |
I have helpers like this in some of my code. These used to work fine, but are now silently truncated (no errors) so that anything after the slash and newline isn't included as part of the variable.
I can provide a sass-spec PR a bit later.
The text was updated successfully, but these errors were encountered: