diff options
author | Urban Müller | 2014-04-03 17:49:58 +0200 |
---|---|---|
committer | Urban Müller | 2014-04-03 17:49:58 +0200 |
commit | ba88b1780b11d818b4598ad884c787ae3ed322c1 (patch) | |
tree | 0b5e68bce2329f3a5dcbbffc61f47f5950056b9e /it_html.class | |
parent | ffc8f17cd2cd410f83fe345370f35f18f38d4bbe (diff) | |
download | itools-ba88b1780b11d818b4598ad884c787ae3ed322c1.tar.gz itools-ba88b1780b11d818b4598ad884c787ae3ed322c1.tar.bz2 itools-ba88b1780b11d818b4598ad884c787ae3ed322c1.zip |
remove buggy html5 charset declaration, default works fine
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class index 007f8a9..1852733 100644 --- a/it_html.class +++ b/it_html.class @@ -184,7 +184,7 @@ function head($args = array()) $p += $this->p; $this->p = ($p += array('content-type' => "text/html; charset={$p['charset']}")); - $header = $p['show_content_type'] ? meta($p['htmltype'] == "html5" ? array('charset' => $p['charset']) : array('http-equiv' => "Content-Type", 'content' => $p['content-type'])) : ""; + $header = $p['show_content_type'] ? meta(array('http-equiv' => "Content-Type", 'content' => $p['content-type'])) : ""; # Enable latest IE mode if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE')) |