mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2025-03-01 15:08:19 +00:00
Fixed bug 121394 - missing ns on attributes
* HTMLtree.c: Fixed bug 121394 - missing ns on attributes
This commit is contained in:
parent
bdbe0d4e78
commit
3a6da760c5
@ -1,3 +1,7 @@
|
||||
Sun Sep 14 21:53:39 PDT 2003 William Brack <wbrack@mmm.com.hk>
|
||||
|
||||
* HTMLtree.c: Fixed bug 121394 - missing ns on attributes
|
||||
|
||||
Sun Sep 14 21:43:32 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* parser.c include/libxml/xmlerror.h: factoring of more
|
||||
|
@ -606,6 +606,10 @@ htmlAttrDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur,
|
||||
return;
|
||||
}
|
||||
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);
|
||||
if ((cur->children != NULL) && (!htmlIsBooleanAttr(cur->name))) {
|
||||
value = xmlNodeListGetString(doc, cur->children, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user