diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2005-08-08 13:46:45 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2005-08-08 13:46:45 +0000 |
commit | b8c801604427441004dd77eaed275b2b952f1fe4 (patch) | |
tree | 4045fab9eef0dd9803ef674045d6702dbff4533e /HTMLtree.c | |
parent | 10752284e3e3401725a2ab49fee1367201eeff6a (diff) | |
download | android_external_libxml2-b8c801604427441004dd77eaed275b2b952f1fe4.tar.gz android_external_libxml2-b8c801604427441004dd77eaed275b2b952f1fe4.tar.bz2 android_external_libxml2-b8c801604427441004dd77eaed275b2b952f1fe4.zip |
fixed bug #310333 with a patch close to the provided patch for HTML UTF-8
* HTMLtree.c: fixed bug #310333 with a patch close to the provided
patch for HTML UTF-8 serialization
* result/HTML/script2.html: this changed the output of that test
Daniel
Diffstat (limited to 'HTMLtree.c')
-rw-r--r-- | HTMLtree.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -552,6 +552,8 @@ htmlDocDumpMemory(xmlDocPtr cur, xmlChar**mem, int *size) { *size = 0; return; } + } else { + handler = xmlFindCharEncodingHandler(encoding); } } @@ -1026,6 +1028,8 @@ htmlDocDump(FILE *f, xmlDocPtr cur) { handler = xmlFindCharEncodingHandler(encoding); if (handler == NULL) return(-1); + } else { + handler = xmlFindCharEncodingHandler(encoding); } } |