]> granicus.if.org Git - php/commitdiff
- Fixed wrong function call in original commit to FR #39771.
authorGustavo André dos Santos Lopes <cataphract@php.net>
Tue, 18 Jan 2011 19:56:09 +0000 (19:56 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Tue, 18 Jan 2011 19:56:09 +0000 (19:56 +0000)
ext/dom/document.c

index 42598e3e87e75d16d4a0f912d3fd991100adbd87..45a07f2dc2e99f8ebca36ad3831e9483f3491dc2 100644 (file)
@@ -2318,7 +2318,7 @@ PHP_FUNCTION(dom_document_save_html)
                        RETURN_FALSE;
                }
                
-               xmlNodeDump(buf, docp, node, 0, format);
+               htmlNodeDumpFormatOutput(buf, docp, node, 0, format);
                mem = (xmlChar*) xmlBufferContent(buf);
                if (!mem) {
                        RETVAL_FALSE;