- Issue created by @Grimreaper
- 🇦🇺Australia mstrelan
I think this is by design:
* This function loads the body part of a partial HTML document and returns a * full \DOMDocument object that represents this document.
and
* @param string $html * The partial HTML snippet to load. Invalid markup will be corrected on * import.
Both suggest it's only intended to deal with partial snippets, not full documents.
- 🇫🇷France Grimreaper France 🇫🇷
Hi,
Thanks both of you for your replies.
Then in case I will adapt my code to only manipulate the body.