]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Wrapper.pm
linkify
[git.ikiwiki.info.git] / IkiWiki / Wrapper.pm
index ee547cefb9e7945ea12015a3197a2a79737e3fa7..52a7ca2c70e4ab05b45e5b3c2b852e43e57731f0 100644 (file)
@@ -51,6 +51,7 @@ EOF
        my $configstring=Data::Dumper->Dump([\%config], ['*config']);
        $configstring=~s/\\/\\\\/g;
        $configstring=~s/"/\\"/g;
+       $configstring=~s/\n/\\\n/g;
        
        open(OUT, ">$wrapper.c") || error("failed to write $wrapper.c: $!");;
        print OUT <<"EOF";