aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-13 20:38:31 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-13 20:38:31 +0000
commita0aca9f585d3a530dba0739a1ec2e7da8472f94d (patch)
treef9001155aef211fb56f5571ff49c40d9b60749ad /IkiWiki
parenteabe03fb5bcb06b950d25e6c1e7881a441ab284d (diff)
downloadikiwiki-a0aca9f585d3a530dba0739a1ec2e7da8472f94d.tar
ikiwiki-a0aca9f585d3a530dba0739a1ec2e7da8472f94d.tar.gz
* 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).
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/meta.pm2
1 files changed, 1 insertions, 1 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}) {