diff --git a/ChangeLog b/ChangeLog index e19a96d4..9e88b994 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Apr 23 11:05:56 CEST 2001 Daniel Veillard + + * HTMLtree.c: applied change for Paul Sponagl on script saving + * Makefile.am: the warning about entity title.xml are normal. + Sun Apr 22 22:09:35 CEST 2001 Daniel Veillard * configure.in: release of 2.3.7 diff --git a/HTMLtree.c b/HTMLtree.c index a50e0e52..5c18a9d4 100644 --- a/HTMLtree.c +++ b/HTMLtree.c @@ -493,6 +493,16 @@ 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, "