replace \r\n with \n

This commit is contained in:
cloudhead 2010-02-26 14:50:26 -05:00
parent 756b3976e7
commit d97b30d9cc

View File

@ -124,7 +124,7 @@ less.parser = {
var tree, start, end, zone, line;
i = j = current = 0;
input = str;
input = str.replace(/\r\n/g, '\n');
inputLength = input.length;
// Split the input into chunks,