diff --git a/ChangeLog b/ChangeLog index 4736c99f..7088a59a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue May 8 10:26:22 CEST 2001 Daniel Veillard + + * HTMLtree.c: fixed the bug reported by Bjorn in htmlNodeDump + Tue May 8 09:30:12 CEST 2001 Daniel Veillard * configure.in: fixed a small portability problem with AM_CONDITIONAL diff --git a/HTMLtree.c b/HTMLtree.c index 28226eab..626a8212 100644 --- a/HTMLtree.c +++ b/HTMLtree.c @@ -493,16 +493,6 @@ htmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur) { } return; } - if (cur->type == HTML_PRESERVE_NODE) { - if (cur->content != NULL) { -#ifndef XML_USE_BUFFER_CONTENT - xmlBufferWriteCHAR(buf, cur->content); -#else - xmlBufferWriteCHAR(buf, xmlBufferContent(cur->content)); -#endif - } - return; - } if (cur->type == HTML_COMMENT_NODE) { if (cur->content != NULL) { xmlBufferWriteChar(buf, "