use warnings;
use strict;
-use IkiWiki;
+use IkiWiki 2.00;
use IPC::Open2;
my $match_num=qr/[-+]?[0-9]+(?:\.[0-9]+)?/;
}
}
- return '<img src="'.
- IkiWiki::abs2rel($fn, IkiWiki::dirname($params{destpage})).
- '" alt="graph" />';
+ return '<img src="'.urlto($fn, $params{destpage}).'" alt="graph" />';
} # }}}
1