cssify icon indicating copy to clipboard operation
cssify copied to clipboard

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

Open justnpT opened this issue 3 years ago • 0 comments

//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]'

justnpT avatar Mar 05 '21 11:03 justnpT