-
The use case of this patch is being able to perform: Base(TableCell('foo'), CleanText('./span')) It was impossible without because CleanText was called with a list of matching elements, instead of a single lxml element. Not sure if it's the right way to fix the problem. Other ways include: - modifying TableCell to return the element instead of a list of elements - modifying CleanText to accept a list of elements - introducing another filter to take only the first element
af7286cf