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
Test case:
iex> html = "<select><option value=\"foo\">Foo</option><option value=\"bar\">Bar</option><option value=\"barz\">Barz</option></select>" iex> Floki.parse(html) |> Floki.find("select option + option") ** (ArgumentError) argument error :erlang.hd([]) lib/floki/finder.ex:90: Floki.Finder.traverse_sibling/4 lib/floki/finder.ex:60: Floki.Finder.traverse/4 lib/floki/finder.ex:40: Floki.Finder.traverse/4 lib/floki/finder.ex:56: Floki.Finder.traverse/4 lib/floki/finder.ex:44: Floki.Finder.traverse/4 lib/floki/finder.ex:23: Floki.Finder.find/2
Floki version: 0.6.1
The text was updated successfully, but these errors were encountered:
Fix find for sibling nodes
b4af1b2
It fixes sibling node selection when the precendent selector match an element at the end of sibling list. Fix [issue #39](#39)
Hi @sntran! Thank you for the report!
It is fixed in the version 0.7.0. Please check that.
Sorry, something went wrong.
👏 Thank you!
No branches or pull requests
Test case:
Floki version: 0.6.1
The text was updated successfully, but these errors were encountered: