-
-
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
Inline comment inside selector outputs invalid selector #147
Labels
Comments
cdrini
changed the title
Comment inside selector outputs doesn't output Comment node
Inline comment inside selector outputs invalid selector
Jan 14, 2020
Happy to review a PR to resolve this. |
would this be ever fixed then? A year passed |
@xboy2012 the "PR Welcome" tag means it requires community contribution for resolution. I'd you'd like to see this fixed, please open a pull request. |
It seem like work well in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Causing some downstream errors in stylelint: stylelint/stylelint#4049 . I observed these errors in my repo when trying to update stylelint from 9.6.0 to 12.0.1 .
LESS
JavaScript
Expected Behavior
comment2
should have its ownComment
node and (probably?) not be inside the selector's string.Actual Behavior
comment2
appears inside the selector string:selector: ".a, .b,\n// comment2\n.c"
How can we reproduce the behavior?
Run it here: https://runkit.com/embed/euxbhhlhqu1l
The text was updated successfully, but these errors were encountered: