aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Setup/Yaml.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-03-19 17:54:58 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-03-19 17:54:58 -0400
commitdc128dd829bfd08dba5d6929956d9064e7d37b81 (patch)
tree7765911e0a89dcac897e9679bae44f53e6828498 /IkiWiki/Setup/Yaml.pm
parent3b08789e6fb5809dd9b8f51f5c5e7df1d78e6930 (diff)
downloadikiwiki-dc128dd829bfd08dba5d6929956d9064e7d37b81.tar
ikiwiki-dc128dd829bfd08dba5d6929956d9064e7d37b81.tar.gz
fix newlines in commented defaults
Diffstat (limited to 'IkiWiki/Setup/Yaml.pm')
-rw-r--r--IkiWiki/Setup/Yaml.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Setup/Yaml.pm b/IkiWiki/Setup/Yaml.pm
index c7ff1988e..0fc273675 100644
--- a/IkiWiki/Setup/Yaml.pm
+++ b/IkiWiki/Setup/Yaml.pm
@@ -39,7 +39,7 @@ sub dumpline ($$$$) {
my $dump=Dump({$key => $value});
chomp $dump;
if (length $prefix) {
- $dump=join("", map { $prefix.$_ } split(/\n/, $dump));
+ $dump=join("\n", map { $prefix.$_ } split(/\n/, $dump));
}
return $dump;
}