1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

- HTMLtree.c: trying to close bug #55772 escaping in script

elements
- doc/xml.html: suggest to send mail to the list
Daniel
This commit is contained in:
Daniel Veillard
2001-06-05 20:57:42 +00:00
parent 1c43dbf065
commit 6e93c4aa47
3 changed files with 21 additions and 7 deletions

View File

@ -1,4 +1,10 @@
Tue Jun 5 19:11:02 CEST 2001 Bjorn Reese <breese@users.sourceforge.net> Tue Jun 5 22:54:21 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* HTMLtree.c: trying to close bug #55772 escaping in script
elements
* doc/xml.html: suggest to send mail to the list
Tue Jun 5 19:11:02 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* error.c: attempt to fix the xmlGetVarStr breakage once and for * error.c: attempt to fix the xmlGetVarStr breakage once and for
good. Use a macro and based on the solution provided in good. Use a macro and based on the solution provided in

View File

@ -473,8 +473,10 @@ htmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur) {
} }
if (cur->type == HTML_TEXT_NODE) { if (cur->type == HTML_TEXT_NODE) {
if (cur->content != NULL) { if (cur->content != NULL) {
if ((cur->name == xmlStringText) || if (((cur->name == xmlStringText) ||
(cur->name != xmlStringTextNoenc)) { (cur->name != xmlStringTextNoenc)) &&
((cur->parent == NULL) ||
(!xmlStrEqual(cur->parent->name, BAD_CAST "script")))) {
xmlChar *buffer; xmlChar *buffer;
#ifndef XML_USE_BUFFER_CONTENT #ifndef XML_USE_BUFFER_CONTENT
@ -889,8 +891,10 @@ htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
} }
if (cur->type == HTML_TEXT_NODE) { if (cur->type == HTML_TEXT_NODE) {
if (cur->content != NULL) { if (cur->content != NULL) {
if ((cur->name == xmlStringText) || if (((cur->name == xmlStringText) ||
(cur->name != xmlStringTextNoenc)) { (cur->name != xmlStringTextNoenc)) &&
((cur->parent == NULL) ||
(!xmlStrEqual(cur->parent->name, BAD_CAST "script")))) {
xmlChar *buffer; xmlChar *buffer;
#ifndef XML_USE_BUFFER_CONTENT #ifndef XML_USE_BUFFER_CONTENT

View File

@ -1,3 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
<title>The XML C library for Gnome</title> <title>The XML C library for Gnome</title>
@ -154,7 +156,9 @@ Web</a> page and follow the instructions.</p>
<p>Alternatively, you can just send the bug to the <a <p>Alternatively, you can just send the bug to the <a
href="mailto:xml@gnome.org">xml@gnome.org</a> list; if it's really libxml href="mailto:xml@gnome.org">xml@gnome.org</a> list; if it's really libxml
related I will approve it..</p> related I will approve it.. Please do not send me mail directly especially for
portability problem, it makes things really harder to track and in some cases
I'm not the best person to answer a given question, ask the list instead.</p>
<p>Of course, bugs reported with a suggested patch for fixing them will <p>Of course, bugs reported with a suggested patch for fixing them will
probably be processed faster.</p> probably be processed faster.</p>
@ -1555,6 +1559,6 @@ Gnome CVS base under gnome-xml/example</p>
<p><a href="mailto:Daniel.Veillard@imag.fr">Daniel Veillard</a></p> <p><a href="mailto:Daniel.Veillard@imag.fr">Daniel Veillard</a></p>
<p>$Id: xml.html,v 1.84 2001/05/19 15:13:15 veillard Exp $</p> <p>$Id: xml.html,v 1.85 2001/06/01 10:11:57 veillard Exp $</p>
</body> </body>
</html> </html>