Commit 645c690d authored by Daniel Veillard's avatar Daniel Veillard
Browse files

patch from Vasily Tchekalkin to fix #109865 Daniel

* HTMLtree.c: patch from Vasily Tchekalkin to fix #109865
Daniel
parent 9e07710b
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
......
......@@ -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, ">");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment