summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/sparkline.pm4
-rw-r--r--debian/NEWS4
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