pc-magas / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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