From 3a42f3fe30e07a9a571e4f9dd89f702aa45b3b02 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 17 Jul 2002 17:57:34 +0000 Subject: 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 --- HTMLtree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'HTMLtree.c') 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); } /* -- cgit v1.2.3