floki
floki copied to clipboard
Prevents Floki.Finder.find/2 from crashing
See issue #604
Makes sense to me. What do you think, @ypconstante ?
BTW, thank you for the report and the fix, @mellelieuwes ! <2
Since the function is recursive, this will probably cause us to use the expensive traversal in some cases in which we could use the fast one. I think we should handle this in the find function directly.
Is this error triggered in any case besides an empty selector ""?