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

Can not use multiple val selectors with strings #21

Closed
kpdecker opened this issue Jun 11, 2011 · 1 comment
Closed

Can not use multiple val selectors with strings #21

kpdecker opened this issue Jun 11, 2011 · 1 comment

Comments

@kpdecker
Copy link

Attempting to do something like

:has(:root > :first-child:val("string")) :has(:root > :first-child:val("string"))

Causes an invalid json string error.

Ran this with some additional logging and it appears that the parser is trying to evaluate this as a JSON string:

"string")) :has(:root > :first-child:val("string"

Can work around this issue by performing another evaluation loop in the javascript space.

@lloyd
Copy link
Owner

lloyd commented Jun 11, 2011

nice find, I'll take a look shortly.

@lloyd lloyd closed this as completed in fa1d4e7 Jun 12, 2011
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

2 participants