summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorUrban Müller2014-04-03 17:49:58 +0200
committerUrban Müller2014-04-03 17:49:58 +0200
commitba88b1780b11d818b4598ad884c787ae3ed322c1 (patch)
tree0b5e68bce2329f3a5dcbbffc61f47f5950056b9e /it_html.class
parentffc8f17cd2cd410f83fe345370f35f18f38d4bbe (diff)
downloaditools-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.class2
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'))