replace \r\n with \n
This commit is contained in:
parent
756b3976e7
commit
d97b30d9cc
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user