jiangfeng/phpquery

double charset - phpQuery shoulcheck for existing charset before adding the new one

Opened this issue · 0 comments

What steps will reproduce the problem?
1. load document with meta charset present
2. output documnet

What is the expected output? What do you see instead?
Expect
<!DOCTYPE html>
<head>
<base href="http://multimedia3.local/tppn/">
<meta charset="utf-8">

I see
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<base href="http://multimedia3.local/tppn/">
<meta charset="utf-8">



What version of the product are you using? On what operating system?
0.9.5


Original issue reported on code.google.com by sylvia.t...@gmail.com on 26 Mar 2012 at 3:04