From de57c61c9dff4af4ae767033dc1c6291cf774cb1 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 23 Apr 2001 09:13:36 +0000 Subject: [PATCH] - HTMLtree.c: applied change for Paul Sponagl on script saving - Makefile.am: the warning about entity title.xml are normal. Daniel --- ChangeLog | 5 +++++ HTMLtree.c | 33 ++++++++++----------------------- Makefile.am | 4 ++++ aclocal.m4 | 40 ++++++++++++++++++++++------------------ 4 files changed, 41 insertions(+), 41 deletions(-) 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, "