We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sup! Thank you for lib, but now we can't use it cause of bug with indexes. When I put xpath with index more than 9:
cssify("/li[10]") # cssify.cssify.XpathException: Invalid or unsupported Xpath: /li[10]
Expected behaviour is:
cssify("/li[10]") # 'li:nth-of-type(10)'
The text was updated successfully, but these errors were encountered:
Hello @GeorgeGorbanev ,
This is due to regexp limitation in validation_re (line 24 of cssify.py), it should be \d+ like this "([(?P\d+)])?"
@santiycr can imho fix this easily.
Sorry, something went wrong.
@sosie-js thanks for jumping in! I'd be happy to merge if you can send a PR
No branches or pull requests
Sup! Thank you for lib, but now we can't use it cause of bug with indexes. When I put xpath with index more than 9:
Expected behaviour is:
The text was updated successfully, but these errors were encountered: