mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-20 03:52:25 +03:00
htmlNodeDumpFormatOutput didn't handle XML_ATTRIBUTE_NODe fixes bug
* HTMLtree.c: htmlNodeDumpFormatOutput didn't handle XML_ATTRIBUTE_NODe fixes bug #438390 Daniel svn path=/trunk/; revision=3631
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
Tue Jun 12 11:48:15 CEST 2007 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* HTMLtree.c: htmlNodeDumpFormatOutput didn't handle XML_ATTRIBUTE_NODe
|
||||||
|
fixes bug #438390
|
||||||
|
|
||||||
Tue Jun 12 11:37:55 CEST 2007 Daniel Veillard <daniel@veillard.com>
|
Tue Jun 12 11:37:55 CEST 2007 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* xmlIO.c: workaround misgenerated file: URIs c.f. #437385
|
* xmlIO.c: workaround misgenerated file: URIs c.f. #437385
|
||||||
|
@@ -780,6 +780,10 @@ htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
|
|||||||
htmlDocContentDumpOutput(buf, (xmlDocPtr) cur, encoding);
|
htmlDocContentDumpOutput(buf, (xmlDocPtr) cur, encoding);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (cur->type == XML_ATTRIBUTE_NODE) {
|
||||||
|
htmlAttrDumpOutput(buf, doc, (xmlAttrPtr) cur, encoding);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (cur->type == HTML_TEXT_NODE) {
|
if (cur->type == HTML_TEXT_NODE) {
|
||||||
if (cur->content != NULL) {
|
if (cur->content != NULL) {
|
||||||
if (((cur->name == (const xmlChar *)xmlStringText) ||
|
if (((cur->name == (const xmlChar *)xmlStringText) ||
|
||||||
|
Reference in New Issue
Block a user