0
我注意到當我使用phpQuery::newDocument($html)
初始化phpQuery時,對傳遞給該方法的HTML進行了重大更改。防止phpQuery newDocument()進行更改
我看了一下這堂課,看到它正在故意使用phpQuery::createDocumentWrapper()
對文檔進行一些更改。
在看了API之後,我無法找到關於此的任何信息,而且我寧願不更改phpQuery本身。
如何防止phpQuery將HTML更改爲newDocument
方法?