Skip to content
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(vscode): fix the regressions caused by #2256 #2265

Merged
merged 3 commits into from Mar 1, 2023
Merged

Conversation

sibbng
Copy link
Member

@sibbng sibbng commented Feb 26, 2023

Fixes some regressions caused by #2256 and adds proper support for variant groups

@sibbng sibbng requested a review from antfu as a code owner February 26, 2023 07:45
@netlify
Copy link

netlify bot commented Feb 26, 2023

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit e262a51
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/63fe804b6824f70008cd2c75
😎 Deploy Preview https://deploy-preview-2265--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

},
})

expect(await match(uno, '<div border></div><div <custom-shortcut></div>'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so weird, is it even a valid char in attribute?

Copy link
Member Author

@sibbng sibbng Feb 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know the specification part. The only thing I can say is Nu Html Checker didn't like it https://validator.w3.org/nu/#cl1c5 But on the browser's side, it's just working. So, if the browser parser is fault-tolerant enough to support it, so should we. You can think of it as a stability test. It's not there because we endorse it, it's there because we're capable of it. Benefitting from it is up to end users.

@antfu antfu enabled auto-merge (squash) February 28, 2023 22:43
@antfu antfu disabled auto-merge March 1, 2023 16:03
@antfu antfu merged commit c8f57b4 into main Mar 1, 2023
@antfu antfu deleted the fix/vscode-highlighting branch March 1, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants