Closed rgrove closed 7 years ago
As of 2.0.2, the "should works with weird identifiers" test in postcss-custom-selectors started failing: https://github.com/postcss/postcss-custom-selectors/blob/cf0f7dcb82797f3d3475efd431b48ff273abbec2/test/index.js#L169-L195
@yordis can you take a look to this?
Should be fixed in 2.0.4. The change in 2.0.2 was really dangerous.
@MoOx Thanks!
Looks like 2.0.4 didn't quite fix everything. I've simplified the test case from this issue's description and added it as a failing unit test in PR #12.
PR #8, which was released in 2.0.2, seems to break postcss-custom-selectors.
Here's a simple repro:
Input
Expected Output
This is what you get with postcss-selector-matches <= 2.0.1.
Actual Output
This is what you get starting with postcss-selector-matches 2.0.2. Note the garbled
o.fo
classname.