A question about meta tags

20 views
Skip to first unread message

Henrique Kieckbusch

unread,
Mar 3, 2013, 4:12:13 PM3/3/13
to support-...@googlegroups.com
If I use

"<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />"
just using qp() default function..

It will send to browser:
"<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>"

If I use:
"<meta http-equiv="Content-Type" content="html; charset=utf-8" />"
it will send:
"<meta http-equiv="Content-Type" content="html; charset=utf-8" />" (right).

Looks like the "/" in the content is the problem.

Do you know why this happens?

TechnoSophos

unread,
Mar 4, 2013, 10:27:03 AM3/4/13
to support-...@googlegroups.com
This has something to do with libxml's HTML parser (That's the parser that comes with PHP, and which QueryPath utilizes). You can reproduce this behavior, for example, by parsing directly with libxml.

I have no idea why it does this.


Matt

-- 
TechnoSophos
Twitter: @technosophos
Sent with Sparrow

--
You received this message because you are subscribed to the Google Groups "support-querypath" group.
To unsubscribe from this group and stop receiving emails from it, send an email to support-queryp...@googlegroups.com.
To post to this group, send email to support-...@googlegroups.com.
Visit this group at http://groups.google.com/group/support-querypath?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages