1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-09 04:58:16 +03:00

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
This commit is contained in:
Daniel Veillard 2005-08-08 13:46:45 +00:00
parent 10752284e3
commit b8c8016044
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Mon Aug 8 15:44:54 CEST 2005 Daniel Veillard <daniel@veillard.com>
* 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 <daniel@veillard.com>
* xmlregexp.c: fixed bug #310264, basically it's about reentrancy

View File

@ -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);
}
}

View File

@ -6,9 +6,9 @@
</head>
<body><div id="portal">
<script type="text/javascript">
documen.write("P&#345;&iacute;li&scaron; &#382;lu&#357;ou&#269;k&yacute; k&#367;&#328; &uacute;p&#283;l &#271;&aacute;belks&eacute; &oacute;dy");
documen.write("Příliš žluťoučký kůň úpěl ďábelksé ódy");
</script><p>
P&#345;&iacute;li&scaron; &#382;lu&#357;ou&#269;k&yacute; k&#367;&#328; &uacute;p&#283;l &#271;&aacute;belks&eacute; &oacute;dy;
Příliš žluťoučký kůň úpěl ďábelksé ódy;
</p>
</div></body>
</html>