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 | |
parent | 7910c2c7f6ffc0dd22682c6513293fd1cb9e985b (diff) |
fix links to sparklines; abs2rel -> urlto
-rw-r--r-- | IkiWiki/Plugin/sparkline.pm | 4 | ||||
-rw-r--r-- | debian/NEWS | 4 |
2 files changed, 3 insertions, 5 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 diff --git a/debian/NEWS b/debian/NEWS index 7ceca5f0a..9e821668d 100644 --- a/debian/NEWS +++ b/debian/NEWS @@ -1,7 +1,7 @@ ikiwiki (1.49) unstable; urgency=low - Third-party plugins that use htmlpage() may need changes to support the - new "userdir" option. + Third-party plugins that use htmlpage() or abs2rel() to generate links + may need changes to support the new "userdir" option. -- Joey Hess <joeyh@debian.org> Sun, 01 Apr 2007 16:20:09 -0400 |