Skip to content

Support index more than 9 #21

@GeorgeGorbanev

Description

@GeorgeGorbanev

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)'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions