You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While querying a defined context with a selector starting with + or ~, the siblings elements of the context are not taken into account to perform the search, so the query returns nothing while it should according to jQuery.
* Try to fix some indentation inconsistency
* Add unittests to spotlight issue #42
* Uncomment some tests and fix issue with selector
* Fix#42 by adding siblings elements if needed
The module was not able to select siblings elements for selector
starting with `+` or `~` because these siblings elements was not
present in the array passed to `searchFunc`.
While querying a defined context with a selector starting with
+
or~
, the siblings elements of the context are not taken into account to perform the search, so the query returns nothing while it should according to jQuery.This is the cause of the following bug in Cheerio: cheeriojs/cheerio#867
The text was updated successfully, but these errors were encountered: