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
diff --git a/HTMLtree.c b/HTMLtree.c
index 872f2f0..cf55a05 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -212,8 +212,8 @@
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 @@
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);
}
/*