diff --git a/Makefile.dryice.js b/Makefile.dryice.js index 218cd7ef..1e7952a9 100755 --- a/Makefile.dryice.js +++ b/Makefile.dryice.js @@ -476,7 +476,7 @@ var detectTextModules = function(input, source) { input = input.replace(/\\/g, "\\\\").replace(/"/g, '\\"'); input = input.replace(/\n\s+/g, "\n"); - input = '"' + input.replace(/\n/g, '\\\n') + '"'; + input = '"' + input.replace(/\r?\n/g, '\\\n') + '"'; textModules[module] = input; return "";