]> 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 aeca66fe19f86c0a9a6e1254eb094e400068ae11..684bb3c83f65e9282f3370c5cf209d7a8c24d1e9 100644 (file)
@@ -1821,7 +1821,7 @@ PHP_FUNCTION(dom_document_savexml)
                        saveempty = xmlSaveNoEmptyTags;
                        xmlSaveNoEmptyTags = 1;
                }
-               xmlNodeDump(buf, docp, node, 0, format);
+               htmlNodeDumpFormatOutput(buf, docp, node, 0, format);
                if (options & LIBXML_SAVE_NOEMPTYTAG) {
                        xmlSaveNoEmptyTags = saveempty;
                }