* Fix wrapper generator and untaint code's handling of strings contining
[ikiwiki.git] / IkiWiki / Wrapper.pm
index 8c363cc11219111db798fa8b8704a3571519b352..9415d4a17646a47ef41228bf8bada9a3795d8b28 100644 (file)
@@ -57,7 +57,7 @@ EOF
        my $configstring=Data::Dumper->Dump([\%config], ['*config']);
        $configstring=~s/\\/\\\\/g;
        $configstring=~s/"/\\"/g;
-       $configstring=~s/\n/\\\n/g;
+       $configstring=~s/\n/\\n/g;
        
        #translators: The first parameter is a filename, and the second is
        #translators: a (probably not translated) error message.