diff --git a/tasks/jst.js b/tasks/jst.js index 87f2241..84b14f0 100644 --- a/tasks/jst.js +++ b/tasks/jst.js @@ -54,7 +54,7 @@ module.exports = function(grunt) { } if (options.prettify) { - compiled = compiled.replace(new RegExp(lf, 'g'), ''); + compiled = compiled.replace(new RegExp('\n', 'g'), ''); } filename = processName(filepath);