summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/table.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/table.pm b/IkiWiki/Plugin/table.pm
index c5404aa85..26e434b1f 100644
--- a/IkiWiki/Plugin/table.pm
+++ b/IkiWiki/Plugin/table.pm
@@ -13,8 +13,8 @@ sub import { #{{{
sub preprocess (@) { #{{{
my %params =(
- format => 'auto',
- header => 'yes',
+ format => 'auto',
+ header => 'yes',
@_
);
@@ -29,11 +29,9 @@ sub preprocess (@) { #{{{
# first try the more simple format
if (is_dsv_data($params{data})) {
$params{format} = 'dsv';
- $params{sep_char}->{dsv} = '|';
}
else {
$params{format} = 'csv';
- $params{sep_char}->{csv} = ',';
}
}