]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Fix links to alternate stylesheets when usedirs is enabled.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 13 Jul 2007 20:38:31 +0000 (20:38 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 13 Jul 2007 20:38:31 +0000 (20:38 +0000)
* Use type= not style= in html for alternate stylesheets, which is more
  correct (but in my testing both epiphany and iceweasel work ok with
  style=text/css).

IkiWiki/Plugin/meta.pm
debian/changelog

index f498398a28c13cce404b1ae08e9500e83f678f7c..fd21432fad09d790c6478b34b6004e0b1b96ff15 100644 (file)
@@ -90,7 +90,7 @@ sub preprocess (@) { #{{{
                $meta{$page}.='<link href="'.urlto($stylesheet, $page).
                        '" rel="'.encode_entities($rel).
                        '" title="'.encode_entities($title).
-                       "\" style=\"text/css\" />\n";
+                       "\" type=\"text/css\" />\n";
        }
        elsif ($key eq 'openid') {
                if (exists $params{server}) {
index 72775cf546a4ee5af9bdbc544224f9b2f44ea1a8..e02b714fa48a33648cf15233ec2647eba3311343 100644 (file)
@@ -7,9 +7,12 @@ ikiwiki (2.4) UNRELEASED; urgency=low
   * Support building on systems that lack asprintf.
   * mercurial getctime is currently broken, apparently by some change in
     mercurial version 0.9.4. Turn the failing test case into a TODO test case.
-  * Fix links to stylesheets when usedirs is enabled.
+  * Fix links to alternate stylesheets when usedirs is enabled.
+  * Use type= not style= in html for alternate stylesheets, which is more
+    correct (but in my testing both epiphany and iceweasel work ok with
+    style=text/css).
 
- -- Joey Hess <joeyh@debian.org>  Fri, 13 Jul 2007 16:18:34 -0400
+ -- Joey Hess <joeyh@debian.org>  Fri, 13 Jul 2007 16:28:47 -0400
 
 ikiwiki (2.3) unstable; urgency=low