summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-13 20:19:34 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-13 20:19:34 +0000
commiteabe03fb5bcb06b950d25e6c1e7881a441ab284d (patch)
tree35ac940e9afe98754ef7cb36a1ff6b228fdd97d2 /IkiWiki/Plugin
parenta323aabd9a5cccdbcb552964af243911b2c46f80 (diff)
* Fix links to stylesheets when usedirs is enabled.
Diffstat (limited to 'IkiWiki/Plugin')
-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 184146cfe..f498398a2 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -87,7 +87,7 @@ sub preprocess (@) { #{{{
if (! length $stylesheet) {
return "[[meta ".gettext("stylesheet not found")."]]";
}
- $meta{$page}.='<link href="'.$stylesheet.
+ $meta{$page}.='<link href="'.urlto($stylesheet, $page).
'" rel="'.encode_entities($rel).
'" title="'.encode_entities($title).
"\" style=\"text/css\" />\n";