DomQuery icon indicating copy to clipboard operation
DomQuery copied to clipboard

white space causes find to malfunction

Open torian257x opened this issue 4 years ago • 0 comments

problem:

$this->dq->find('[data-id="e1eaziw"]')->eq(1);

works fine, returns 2 instance of that data-id attribute

$this->dq->find('[data-id="e1eaziw "]')->eq(1);

will return first instance.

looks like this bug is generally around...

torian257x avatar Oct 14 '19 02:10 torian257x