1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-13 13:17:36 +03:00

patch from Vasily Tchekalkin to fix #109865 Daniel

* HTMLtree.c: patch from Vasily Tchekalkin to fix #109865
Daniel
This commit is contained in:
Daniel Veillard 2003-04-10 21:40:49 +00:00
parent 9e07710b95
commit 645c690d49
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Thu Apr 10 23:38:13 CEST 2003 Daniel Veillard <daniel@veillard.com>
* HTMLtree.c: patch from Vasily Tchekalkin to fix #109865
Thu Apr 10 15:32:44 CEST 2003 Daniel Veillard <daniel@veillard.com>
* xmlreader.c: fixing HasValue for namespace as raised by

View File

@ -800,6 +800,10 @@ htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
xmlOutputBufferWriteString(buf, ">");
} else {
xmlOutputBufferWriteString(buf, "></");
if ((cur->ns != NULL) && (cur->ns->prefix != NULL)) {
xmlOutputBufferWriteString(buf, (const char *)cur->ns->prefix);
xmlOutputBufferWriteString(buf, ":");
}
xmlOutputBufferWriteString(buf, (const char *)cur->name);
xmlOutputBufferWriteString(buf, ">");
}