piaolankeke / phpquery

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

elements with dots "." in their id cannot be selected #243

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a document with an element like <div id="my.id">Hello</div>
2. Run phpquery on it: echo pq('my.id')->html();
3. Profit!

What is the expected output? What do you see instead?
I would expect to see Hello. I see nothing instead

What version of the product are you using? On what operating system?
linux ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by eve...@hapzis.com on 14 Nov 2014 at 6:33