You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tokenizer properly recognizes escape sequences as being part of a CSS identifier. But it keeps the escape sequence in the token value, which is then kept in the XPath.
How to reproduce
$converter = new \Symfony\Component\CssSelector\CssSelectorConverter();
dump($converter->toXPath('#foo\.bar'));
Possible Solution
To me, the unescaping should probably be done at the tokenizer level