projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix newlines in commented defaults
[ikiwiki.git]
/
IkiWiki
/
Setup
/
Yaml.pm
diff --git
a/IkiWiki/Setup/Yaml.pm
b/IkiWiki/Setup/Yaml.pm
index c7ff1988e850e9e04f3055d21d7018cff5e27234..0fc2736756d73ba099b27961a2772a769731b204 100644
(file)
--- 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;
}