Closed sllvn closed 9 years ago
@licyeus Please check the new released version "0.4.0". It provides this selector and much more.
Thanks much :fireworks:; looking at diffs looks to cover my use cases. However, I'm running into errors compiling 0.4. Created #25 for that.
With
@html
markup fromtest/floki_test.exs
:I am trying to search for an element with multiple classes (on the same element) with the selector
.js-cool.js-elixir
but Floki is not finding them. However, if I add a space between the classes, as if the second was a descendent of the first,.js-cool .js-elixir
, it does return what I'm looking for but should not (asjs-elixir
is not descendent ofjs-cool
).Test demonstrating the error: