Req #39771 [Opn->Csd]: DOMDocument->saveHTML does not accept an optional DOMNode like saveXML

From: Date: Tue, 18 Jan 2011 19:45:54 +0000
Subject: Req #39771 [Opn->Csd]: DOMDocument->saveHTML does not accept an optional DOMNode like saveXML
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-157990@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=39771&edit=1 ID: 39771 Updated by: cataphract@php.net Reported by: dave dot lane at gmx dot net Summary: DOMDocument->saveHTML does not accept an optional DOMNode like saveXML -Status: Open +Status: Closed Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues Operating System: Linux PHP Version: 5.2.0 -Assigned To: +Assigned To: cataphract Block user comment: N Private report: N New Comment: Implemented for PHP 5.3 and trunk. Previous Comments: ------------------------------------------------------------------------ [2011-01-18 20:45:40] cataphract@php.net Automatic comment from SVN on behalf of cataphract Revision: http://svn.php.net/viewvc/?view=revision&revision=307561 Log: - Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional DOMNode like DOMDocument::saveXML). ------------------------------------------------------------------------ [2006-12-07 19:34:19] dave dot lane at gmx dot net Description: ------------ DOMDocument->saveHTML does not accept an optional DOMNode like DOMDocument->saveXML. In saveXML this functionality is implemented using xmlNodeDump. libxml2 offers the html equivalent htmlNodeDump. Is there a good reason why this is not implemented? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=39771&edit=1

« previous php.bugs (#157990) next »