--TEST-- Dom\HTMLDocument serialization escape text 01 --EXTENSIONS-- dom --FILE--

", LIBXML_NOERROR); $p = $dom->documentElement->firstChild->nextSibling->firstChild; $p->textContent = "this is &text! \"\""; echo $dom->saveHtml(); ?> --EXPECT--

this is <some> &text! ""