diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-07-13 20:38:31 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-07-13 20:38:31 +0000 |
commit | a0aca9f585d3a530dba0739a1ec2e7da8472f94d (patch) | |
tree | f9001155aef211fb56f5571ff49c40d9b60749ad | |
parent | eabe03fb5bcb06b950d25e6c1e7881a441ab284d (diff) |
* 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).
-rw-r--r-- | IkiWiki/Plugin/meta.pm | 2 | ||||
-rw-r--r-- | debian/changelog | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index f498398a2..fd21432fa 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -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}) { diff --git a/debian/changelog b/debian/changelog index 72775cf54..e02b714fa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 |