|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-12-15 01:02 UTC] rrichards@php.net
[2005-12-15 07:26 UTC] ken at smallboxsoftware dot net
[2005-12-15 12:20 UTC] rrichards@php.net
[2006-08-28 19:54 UTC] rrichards@php.net
[2010-04-02 18:15 UTC] rrichards@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 15:00:01 2025 UTC |
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);