diff --git a/build/pre-compile.js b/build/pre-compile.js index 67097afc3..5db74035d 100644 --- a/build/pre-compile.js +++ b/build/pre-compile.js @@ -247,7 +247,7 @@ }); // remove whitespace from `_.template` related regexes - source = source.replace(/(?:reEmptyString\w+|reInsertVariable) *=.+/g, function(match) { + source = source.replace(/reEmptyString\w+ *=.+/g, function(match) { return match.replace(/ |\\n/g, ''); });