-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Crash on inline comments that contain single quotes #117
Comments
PR welcome! |
FWIW the last few comments on this thread will enable a fix for this issue https://twitter.com/sitnikcode/status/1044319395760263168 |
@EvHaus we've got a PR open on postcss to add the necessary option to allow us to work around this error. When that gets released, I'll be able to fix this issue. |
It's look like the issue still there, if the source code contains 2 or more line comments with a single quote:
Or with comment + a single quote in property value:
|
If you have a large amount of code to share which demonstrates the problem you're experiencing, please provide a link to your
repository rather than pasting code. Otherwise, please paste relevant short snippets below.
LESS
JavaScript
N/A
Errors
Expected Behavior
No failure.
Actual Behavior
A crash with the error above.
How can we reproduce the behavior?
Try to process a LESS file which has a single line comment with a
'
character in it.The text was updated successfully, but these errors were encountered: