Slight adjustment to the newline fix

I also had to remove this line to get things to work.
This commit is contained in:
Ryan Griffith 2013-04-05 16:45:20 -03:00
commit 06a74d59dd

View file

@ -472,7 +472,6 @@ var detectTextModules = function(input, source) {
var module = source.isLocation ? source.path : source;
input = input.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
input = input.replace(/\n\s+/g, "\n");
input = '"' + input.replace(/\r?\n/g, '\\n') + '"';
textModules[module] = input;