Handling sibling selector `~` will break attribute selector `~=`
Open
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/hax/selector-utils/blob/master/Selector.js#L61
and
https://github.com/hax/selector-utils/blob/master/Selector.js#L98
A hotfix for this regex approach could be: `/\s*([>+]|~(?!=))\s*|\s+/` and `/[, >+]|~(?!=)/`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.