]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Setup/Standard.pm
allow multiple setup file types, and support safe parsing
[ikiwiki.git] / IkiWiki / Setup / Standard.pm
index 71abb1cfb87cfbc737be443fa69c459846f6fcb9..4022ff03cb14941296e03f87288e3f2e2f890130 100644 (file)
@@ -82,8 +82,10 @@ sub dumpvalues ($@) {
        return @ret;
 }
 
-sub gendump ($) {
+sub gendump ($$) {
+       my $class=shift;
        my $description=shift;
+
        my %setup=(%config);
        my @ret;
        
@@ -104,7 +106,7 @@ sub gendump ($) {
                if (@{$section_plugins{$section}} == 1) {
                        push @ret, "", "\t".("#" x 70), "\t# $section plugins",
                                sub {
-                                       wrap("\t#   (", "\t#   ",
+                                       wrap("\t#   (", "\t#    ",
                                                join(", ", @{$section_plugins{$section}})).")"
                                },
                                "\t".("#" x 70);