]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
missed a few
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 7 Mar 2007 19:11:00 +0000 (19:11 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 7 Mar 2007 19:11:00 +0000 (19:11 +0000)
IkiWiki/Plugin/table.pm

index c5404aa85b015eea63bd519c10cfd0127cf3c3cc..26e434b1fa2264fdb9c24ceb8031775bf49f64fe 100644 (file)
@@ -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} = ',';
                }
        }