1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +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

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