aboutsummaryrefslogtreecommitdiffstats
path: root/HTMLtree.c
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2003-09-15 04:58:14 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2003-09-15 04:58:14 +0000
commit3a6da760c573fcce54dbed98f6ce4772e2fbcb65 (patch)
tree1b68a8875bc7f9b3f28709144d9b8a5c2dc0370a /HTMLtree.c
parentbdbe0d4e78b1ff6441906d53cf2a6bb5fe903385 (diff)
downloadandroid_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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/HTMLtree.c b/HTMLtree.c
index 4efce27f..7571731b 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -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);