diff options
| author | Daniel Veillard <veillard@src.gnome.org> | 2001-02-07 18:24:48 +0000 |
|---|---|---|
| committer | Daniel Veillard <veillard@src.gnome.org> | 2001-02-07 18:24:48 +0000 |
| commit | 5eef6225f74a4bbbfe2efeb8b36fa1cb28a1262a (patch) | |
| tree | 5cd3a5bc27f2a5fe0f9f341347a8a855c4794fa5 /HTMLtree.c | |
| parent | 2c257ec1ee03356abb49670ac7c1ddb34e404844 (diff) | |
| download | android_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.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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) && |
