diff options
author | William M. Brack <wbrack@src.gnome.org> | 2003-09-15 04:58:14 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2003-09-15 04:58:14 +0000 |
commit | 3a6da760c573fcce54dbed98f6ce4772e2fbcb65 (patch) | |
tree | 1b68a8875bc7f9b3f28709144d9b8a5c2dc0370a /HTMLtree.c | |
parent | bdbe0d4e78b1ff6441906d53cf2a6bb5fe903385 (diff) | |
download | android_external_libxml2-3a6da760c573fcce54dbed98f6ce4772e2fbcb65.tar.gz android_external_libxml2-3a6da760c573fcce54dbed98f6ce4772e2fbcb65.tar.bz2 android_external_libxml2-3a6da760c573fcce54dbed98f6ce4772e2fbcb65.zip |
Fixed bug 121394 - missing ns on attributes
* HTMLtree.c: Fixed bug 121394 - missing ns on attributes
Diffstat (limited to 'HTMLtree.c')
-rw-r--r-- | HTMLtree.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |