Skip to content

Commit

Permalink
Item13561: Format the LocalSite.cfg during save
Browse files Browse the repository at this point in the history
This restores some formatting to make hash and other multi-line elements
a bit more readable.
  • Loading branch information
gac410 committed Aug 5, 2015
1 parent 9d0168e commit 90dd7ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/Foswiki/Configure/Wizards/Save.pm
Expand Up @@ -521,7 +521,8 @@ sub _generateLSC {
$d = $vs->{saving_value};
}
else {
$d = Foswiki::Configure::Reporter::uneval($datum);
$d = Foswiki::Configure::Reporter::uneval( $datum, 2 );
chomp $d;
}
push( @dump, "\$Foswiki::cfg$keys = $d;\n" );
}
Expand Down

0 comments on commit 90dd7ce

Please sign in to comment.