use warnings;
use strict;
-
-use IkiWiki;
+use IkiWiki 2.00;
sub import { #{{{
hook(type => "preprocess", id => "table", call => \&preprocess);
}
$params{data} = readfile(srcfile($params{file}));
}
+ else {
+ $params{data} = IkiWiki::linkify($params{page},
+ $params{destpage}, $params{data});
+ }
if (lc $params{format} eq 'auto') {
# first try the more simple format
my $csv = Text::CSV->new({
sep_char => defined $delimiter ? $delimiter : ",",
binary => 1,
+ allow_loose_quotes => 1,
}) || error("could not create a Text::CSV object");
my $l=0;