diff --git a/Makefile.dryice.js b/Makefile.dryice.js index e5c73ac0..48d6591c 100755 --- a/Makefile.dryice.js +++ b/Makefile.dryice.js @@ -472,8 +472,7 @@ 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') + '"'; + input = '"' + input.replace(/\r?\n/g, '\\n') + '"'; textModules[module] = input; return "";