1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

- valid.c: couple of bug fixes pointed by Gary Pennington

- HTMLtree.c: #if 0 cleanup
Daniel
This commit is contained in:
Daniel Veillard
2001-02-07 18:24:48 +00:00
parent 2c257ec1ee
commit 5eef6225f7
3 changed files with 25 additions and 17 deletions

View File

@ -888,20 +888,6 @@ htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, const
}
xmlOutputBufferWriteString(buf, ">");
if (cur->content != NULL) {
#if 0
xmlChar *buffer;
#ifndef XML_USE_BUFFER_CONTENT
buffer = xmlEncodeEntitiesReentrant(doc, cur->content);
#else
buffer = xmlEncodeEntitiesReentrant(doc,
xmlBufferContent(cur->content));
#endif
if (buffer != NULL) {
xmlOutputBufferWriteString(buf, buffer);
xmlFree(buffer);
}
#else
/*
* Uses the OutputBuffer property to automatically convert
* invalids to charrefs
@ -912,7 +898,6 @@ htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, const
#else
xmlOutputBufferWriteString(buf,
(const char *) xmlBufferContent(cur->content));
#endif
#endif
}
if (cur->children != NULL) {