Re: Problem with $dom->saveHTML();

From: Date: Wed, 23 Nov 2011 16:13:32 +0000
Subject: Re: Problem with $dom->saveHTML();
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-65988@lists.php.net to get a copy of this message
On 11/23/11 4:08 AM, Kirsten Osa wrote:
Hi, I am running php 5.3.5 and have got a problem with $dom->saveHTML(); It moves the </script> tag from end of script block to middle of it. See below:
I am using $dom = new domDocument; @$dom->loadHTML($sContent); Where $sContent is the Full source of the web page.
Can you test with a more recent version of PHP? If you have a standalone testcase, can you log a bug at https://bugs.php.net/report.php ? Thanks, Chris -- Email: christopher.jones@oracle.com Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/

« previous php.qa (#65988) next »