What steps will reproduce the problem?
1. Create a newDocumentXHTML from a string (html fragment)
2. dump the document
What is the expected output? What do you see instead?
I expect to have the dump and the original string identical.
Instead, I see some differences in the dump, some characters like > got
replaced with >, and in the other hand, some html entities in a <pre> tag
(like ") got replaced with their corresponding character : "
What version of the product are you using? On what operating system?
PHP Version 5.2.10 (Windows 7 64 bit), phpQuery 0.9.5
Please provide any additional information below.
Try it by running my example php script (attachement)
I don't know if this bug is caused by phpQuery or by the underlaying PHP DOM
extension.
It seems to be a long-time issue, see issue #137 :
http://code.google.com/p/phpquery/issues/detail?id=137&q=entities
Original issue reported on code.google.com by vincent....@gmail.com on 16 Aug 2012 at 9:27
Original issue reported on code.google.com by
vincent....@gmail.com
on 16 Aug 2012 at 9:27Attachments: