aboutsummaryrefslogtreecommitdiffstats
path: root/HTMLtree.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-02-07 18:24:48 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-02-07 18:24:48 +0000
commit5eef6225f74a4bbbfe2efeb8b36fa1cb28a1262a (patch)
tree5cd3a5bc27f2a5fe0f9f341347a8a855c4794fa5 /HTMLtree.c
parent2c257ec1ee03356abb49670ac7c1ddb34e404844 (diff)
downloadandroid_external_libxml2-5eef6225f74a4bbbfe2efeb8b36fa1cb28a1262a.tar.gz
android_external_libxml2-5eef6225f74a4bbbfe2efeb8b36fa1cb28a1262a.tar.bz2
android_external_libxml2-5eef6225f74a4bbbfe2efeb8b36fa1cb28a1262a.zip
- valid.c: couple of bug fixes pointed by Gary Pennington
- HTMLtree.c: #if 0 cleanup Daniel
Diffstat (limited to 'HTMLtree.c')
-rw-r--r--HTMLtree.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/HTMLtree.c b/HTMLtree.c
index 17fef14e..081ab129 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -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
@@ -913,7 +899,6 @@ htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, const
xmlOutputBufferWriteString(buf,
(const char *) xmlBufferContent(cur->content));
#endif
-#endif
}
if (cur->children != NULL) {
if ((cur->children->type != HTML_TEXT_NODE) &&