Skip to content

custom html elements with "-" dash, not translated properly #12

@justnpT

Description

@justnpT

//sgswidget//a[contains(@href,'dashboard/profile')]

is translated proprely: 'sgswidget a[href*=dashboard/profile]'

current behaviour:

just add a dash to sgswidget
//sgs-widget//a[contains(@href,'dashboard/profile')]

and you will get the error:

cssify.cssify.XpathException: Invalid or unsupported Xpath: //sgs-widget//a[contains(@href,'dashboard/profile')]

expected condition:

//sgs-widget//a[contains(@href,'dashboard/profile')]

should be traslated properly to:

'sgs-widget a[href*=dashboard/profile]'

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