We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
find-in-text
child
I don't know if it's a bug or if I missed something, but find-in-text selector does not seem to work when it's the last argument of a child selector:
(let [tree (-> "<div><div><span>a</span></div></div>" h/parse h/as-hickory)] (hs/select (hs/child (hs/tag :div) (hs/find-in-text #"a")) tree)) ; => []
But it works when adding a dummy and:
and
(let [tree (-> "<div><div><span class=\"go\">a</span></div></div>" h/parse h/as-hickory)] (hs/select (hs/child (hs/tag :div) (hs/and hs/any (hs/find-in-text #"a")) tree)) ; => works
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I don't know if it's a bug or if I missed something, but
find-in-text
selector does not seem to work when it's the last argument of achild
selector:But it works when adding a dummy
and
:The text was updated successfully, but these errors were encountered: