diff --git a/ChangeLog b/ChangeLog index ba8cb2dd..d2944b51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Aug 8 15:44:54 CEST 2005 Daniel Veillard + + * 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 + Mon Aug 8 15:01:51 CEST 2005 Daniel Veillard * xmlregexp.c: fixed bug #310264, basically it's about reentrancy diff --git a/HTMLtree.c b/HTMLtree.c index de086db4..e77ee65f 100644 --- a/HTMLtree.c +++ b/HTMLtree.c @@ -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); } } diff --git a/result/HTML/script2.html b/result/HTML/script2.html index 9677f3c2..bf9318e8 100644 --- a/result/HTML/script2.html +++ b/result/HTML/script2.html @@ -6,9 +6,9 @@

- Příliš žluťoučký kůň úpěl ďábelksé ódy; + Příliš žluťoučký kůň úpěl ďábelksé ódy;