diff options
author | Urban Müller | 2024-05-13 18:43:49 +0200 |
---|---|---|
committer | Urban Müller | 2024-05-13 18:43:57 +0200 |
commit | 1fe0c7cc79241881f312dde5850799fbed7777f4 (patch) | |
tree | cfe42feaf964e48a9ea4bc5f23f90093c20974a6 | |
parent | 61f720ab753cff5e2ab2f17725395bfe3705656a (diff) | |
download | itools-1fe0c7cc79241881f312dde5850799fbed7777f4.tar.gz itools-1fe0c7cc79241881f312dde5850799fbed7777f4.tar.bz2 itools-1fe0c7cc79241881f312dde5850799fbed7777f4.zip |
remove unnecessary type=text/css
-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 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'])) : ""); |