diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-07-17 17:57:34 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-07-17 17:57:34 +0000 |
commit | 3a42f3fe30e07a9a571e4f9dd89f702aa45b3b02 (patch) | |
tree | 2e76b430f25a6349077689ac8d420030bee53586 /HTMLtree.c | |
parent | 0c022ad8234a9228288c651f5e6a9bce7efcd789 (diff) | |
download | android_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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } /* |