aboutsummaryrefslogtreecommitdiffstats
path: root/HTMLtree.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-07-17 17:57:34 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-07-17 17:57:34 +0000
commit3a42f3fe30e07a9a571e4f9dd89f702aa45b3b02 (patch)
tree2e76b430f25a6349077689ac8d420030bee53586 /HTMLtree.c
parent0c022ad8234a9228288c651f5e6a9bce7efcd789 (diff)
downloadandroid_external_libxml2-3a42f3fe30e07a9a571e4f9dd89f702aa45b3b02.tar.gz
android_external_libxml2-3a42f3fe30e07a9a571e4f9dd89f702aa45b3b02.tar.bz2
android_external_libxml2-3a42f3fe30e07a9a571e4f9dd89f702aa45b3b02.zip
changed the order of the encoding declaration attributes in the meta tags
* HTMLtree.c: changed the order of the encoding declaration attributes in the meta tags due to a bug in IE/Mac Daniel
Diffstat (limited to 'HTMLtree.c')
-rw-r--r--HTMLtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/HTMLtree.c b/HTMLtree.c
index 872f2f01..cf55a058 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -212,8 +212,8 @@ found_head:
return(0);
meta = xmlNewDocNode(doc, NULL, BAD_CAST"meta", NULL);
xmlAddChild(cur, meta);
- xmlNewProp(meta, BAD_CAST"content", BAD_CAST newcontent);
xmlNewProp(meta, BAD_CAST"http-equiv", BAD_CAST"Content-Type");
+ xmlNewProp(meta, BAD_CAST"content", BAD_CAST newcontent);
return(0);
}
cur = cur->children;
@@ -226,8 +226,8 @@ found_meta:
meta = xmlNewDocNode(doc, NULL, BAD_CAST"meta", NULL);
xmlAddPrevSibling(cur, meta);
- xmlNewProp(meta, BAD_CAST"content", BAD_CAST newcontent);
xmlNewProp(meta, BAD_CAST"http-equiv", BAD_CAST"Content-Type");
+ xmlNewProp(meta, BAD_CAST"content", BAD_CAST newcontent);
}
/*