Jeff-Lewis / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

Case-sensitive tag selectors #239

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Tryed to use geteted from my javascript code selectors (like "BODY", 
"DIV.sidebar") and get empty collections, but "body", "div.sidebar" worked 
right.
http://pastebin.com/2pyRYv2S
In my component fixed it with next code

Original issue reported on code.google.com by gaussmak...@gmail.com on 1 May 2014 at 10:48

Attachments:

GoogleCodeExporter commented 9 years ago
Also, I not converted selectors manually because it must be automatically 
created by client-side code

Original comment by gaussmak...@gmail.com on 1 May 2014 at 10:51

GoogleCodeExporter commented 9 years ago
Shouldn't be all the selector searches case-insensitive?
Or at least option to do so.

Original comment by imercur...@gmail.com on 15 Nov 2014 at 1:55

GoogleCodeExporter commented 9 years ago
Because right now you can't find

<meta http-equiv="Refresh" content="0; URL=/">

with pq('meta[http-equiv=refresh]')

Original comment by imercur...@gmail.com on 15 Nov 2014 at 2:05