jiangfeng / phpquery

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

HTML5 doctype and empty element truncated #162

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. having the DOCTYPE "<!DOCTYPE HTML>"
2. having the HTML in body "<div></div>" without blank-space

What is the expected output? What do you see instead?
It should output "<div></div>", it output "<div>"

What version of the product are you using? On what operating system?
phpQuery 0.9.5 (r386; one file release)

Original issue reported on code.google.com by n.vincen...@gmail.com on 14 Dec 2010 at 9:30

GoogleCodeExporter commented 9 years ago
no more issue, it seems to come from I do specify "xhtml" in object creation :s.

Original comment by n.vincen...@gmail.com on 14 Dec 2010 at 9:44

GoogleCodeExporter commented 9 years ago
Having the issue again with a "<li class="premiere" 
id="recherche_saisie"></li>".

Original comment by n.vincen...@gmail.com on 14 Dec 2010 at 10:47