Use <link> tag instead if CDATA import for CSS stylesheets. Fixes issue200.
authorThomas Arendsen Hein <thomas@intevation.de>
Tue, 25 Apr 2006 18:50:40 +0200
changeset 2126 2e77f7852e82
parent 2125 3610d9468b1e
child 2127 8a85dbbadddf
Use <link> tag instead if CDATA import for CSS stylesheets. Fixes issue200.
templates/header-gitweb.tmpl
templates/header.tmpl
--- a/templates/header-gitweb.tmpl	Tue Apr 25 09:00:09 2006 +0200
+++ b/templates/header-gitweb.tmpl	Tue Apr 25 18:50:40 2006 +0200
@@ -7,5 +7,5 @@
 <link rel="icon" href="?static=hgicon.png" type="image/png">
 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
 <meta name="robots" content="index, nofollow"/>
-<style type="text/css">/*<![CDATA[*/ @import "?static=style-gitweb.css"; /*]]>*/</style>
+<link rel="stylesheet" href="?static=style-gitweb.css" type="text/css" />
 
--- a/templates/header.tmpl	Tue Apr 25 09:00:09 2006 +0200
+++ b/templates/header.tmpl	Tue Apr 25 18:50:40 2006 +0200
@@ -5,4 +5,4 @@
 <head>
 <link rel="icon" href="?static=hgicon.png" type="image/png">
 <meta name="robots" content="index, nofollow" />
-<style type="text/css">/*<![CDATA[*/ @import "?static=style.css"; /*]]>*/</style>
+<link rel="stylesheet" href="?static=style.css" type="text/css" />