diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-04-01 20:25:27 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-04-01 20:25:27 +0000 |
commit | 6351ae2ac4ffe01aba0733469751be7e058e6e61 (patch) | |
tree | 0cd2609ed5e56b33ce6364d303a579881d04f784 /IkiWiki/Plugin | |
parent | 7910c2c7f6ffc0dd22682c6513293fd1cb9e985b (diff) | |
download | ikiwiki-6351ae2ac4ffe01aba0733469751be7e058e6e61.tar ikiwiki-6351ae2ac4ffe01aba0733469751be7e058e6e61.tar.gz |
fix links to sparklines; abs2rel -> urlto
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/sparkline.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/sparkline.pm b/IkiWiki/Plugin/sparkline.pm index 425b9826b..060368679 100644 --- a/IkiWiki/Plugin/sparkline.pm +++ b/IkiWiki/Plugin/sparkline.pm @@ -156,9 +156,7 @@ sub preprocess (@) { #{{{ } } - return '<img src="'. - IkiWiki::abs2rel($fn, IkiWiki::dirname($params{destpage})). - '" alt="graph" />'; + return '<img src="'.urlto($fn, $params{destpage}).'" alt="graph" />'; } # }}} 1 |