From ba88b1780b11d818b4598ad884c787ae3ed322c1 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 3 Apr 2014 17:49:58 +0200 Subject: remove buggy html5 charset declaration, default works fine --- it_html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')) -- cgit v1.2.3