Skip to content
New issue

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

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

Open
justnpT opened this issue Mar 5, 2021 · 0 comments
Open

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

justnpT opened this issue Mar 5, 2021 · 0 comments

Comments

@justnpT
Copy link

justnpT commented Mar 5, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant