diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-03-19 17:54:58 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-03-19 17:54:58 -0400 |
commit | dc128dd829bfd08dba5d6929956d9064e7d37b81 (patch) | |
tree | 7765911e0a89dcac897e9679bae44f53e6828498 | |
parent | 3b08789e6fb5809dd9b8f51f5c5e7df1d78e6930 (diff) | |
download | ikiwiki-dc128dd829bfd08dba5d6929956d9064e7d37b81.tar ikiwiki-dc128dd829bfd08dba5d6929956d9064e7d37b81.tar.gz |
fix newlines in commented defaults
-rw-r--r-- | IkiWiki/Setup/Yaml.pm | 2 |
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; } |