Fixed text node escaping in DOMDocumentRenderer.php