summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Setup')
-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;
}