summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2024-05-13 18:43:49 +0200
committerUrban Müller2024-05-13 18:43:57 +0200
commit1fe0c7cc79241881f312dde5850799fbed7777f4 (patch)
treecfe42feaf964e48a9ea4bc5f23f90093c20974a6
parent61f720ab753cff5e2ab2f17725395bfe3705656a (diff)
downloaditools-1fe0c7cc79241881f312dde5850799fbed7777f4.tar.gz
itools-1fe0c7cc79241881f312dde5850799fbed7777f4.tar.bz2
itools-1fe0c7cc79241881f312dde5850799fbed7777f4.zip
remove unnecessary type=text/css
-rw-r--r--it_html.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class
index 4cd34ee..9780d5d 100644
--- a/it_html.class
+++ b/it_html.class
@@ -215,7 +215,7 @@ function head($args = array())
$header .= tag('link', array('rel' => "stylesheet", 'type' => "text/css", 'href' => $url) + (is_int($type) ? array() : array('media' => $type)));
if (!empty($p['cssinline']))
- $header .= tag('style', array('type' => "text/css", "\n" . preg_replace(array('/\s*\/\*[^\*]+\*\//Um', '/\s*\{\s*/', '/;\s+/'), array('', '{', ';'), $p['cssinline'])));
+ $header .= tag('style', array("\n" . preg_replace(array('/\s*\/\*[^\*]+\*\//Um', '/\s*\{\s*/', '/;\s+/'), array('', '{', ';'), $p['cssinline'])));
$header .= $p['head'] . ($p['title'] ? tag('title', Q($p['title'])) : "");