Slight adjustment to the newline fix
I also had to remove this line to get things to work.
This commit is contained in:
parent
7dcd7c0cb9
commit
06a74d59dd
1 changed files with 0 additions and 1 deletions
|
|
@ -472,7 +472,6 @@ var detectTextModules = function(input, source) {
|
||||||
var module = source.isLocation ? source.path : source;
|
var module = source.isLocation ? source.path : source;
|
||||||
|
|
||||||
input = input.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
input = input.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
||||||
input = input.replace(/\n\s+/g, "\n");
|
|
||||||
input = '"' + input.replace(/\r?\n/g, '\\n') + '"';
|
input = '"' + input.replace(/\r?\n/g, '\\n') + '"';
|
||||||
textModules[module] = input;
|
textModules[module] = input;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue