#35673 [NEW]: formatOutput does not work with saveHTML

From: Date: Wed, 14 Dec 2005 22:16:21 +0000
Subject: #35673 [NEW]: formatOutput does not work with saveHTML
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-90444@lists.php.net to get a copy of this message
From: ken at smallboxsoftware dot net Operating system: Linux PHP version: 5.1.1 PHP Bug Type: DOM XML related Bug description: formatOutput does not work with saveHTML Description: ------------ saveHTML does not appear to format output. I assume it is supposed to because the manual entry for this function shows ->formatOutput = true From the C code for the function: DOM_GET_OBJ(docp, id, xmlDocPtr, intern); htmlDocDumpMemory(docp, &mem, &size); as opposed for the C function for saveHTMLFile which does appear to format output: DOM_GET_OBJ(docp, id, xmlDocPtr, intern); /* encoding handled by property on doc */ doc_props = dom_get_doc_props(intern->document); format = doc_props->formatoutput; bytes = htmlSaveFileFormat(file, docp, NULL, format); -- Edit bug report at http://bugs.php.net/?id=35673&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35673&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35673&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35673&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35673&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35673&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35673&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35673&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35673&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35673&r=support Expected behavior: http://bugs.php.net/fix.php?id=35673&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35673&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35673&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35673&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35673&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35673&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35673&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35673&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35673&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35673&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35673&r=mysqlcfg

« previous php.bugs (#90444) next »