-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Fix formatting of incomplete CSS value comments #16583
Conversation
This doesn't fix the problem, Prettier pr-16583 --parser css Input: h1 {
--OFF: /* OFF */;
--OFF: /* OFF */;
--OFF: /* OFF */;
--OFF: /* OFF */;
--OFF: /* OFF */;
--OFF: /* OFF */;
} Output: h1 {
--OFF: /* /* OFF * */;
--OFF: /* /* OFF */;
--OFF: /* /* OFF */;
--OFF: /* /* OF */;
--OFF: /* /* O */;
--OFF: /* /* */;
} |
I'll take a look. |
--OFF: /* OFF */; | ||
--OFF: /* OFF */; | ||
--OFF: /* OFF */; | ||
--OFF: /* OFF */; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't find specs for how this should work, not sure if it can be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexander-akait Maybe you know about it?
@sosukesuzuki Can you take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is my PR so I cannot approve it on GitHub, but LGTM.
Description
Fixes #15948
This is a non-ideal workaround, because it's a parser bug.
Checklist
changelog_unreleased/*/XXXX.md
file followingchangelog_unreleased/TEMPLATE.md
.✨Try the playground for this PR✨