mirror of
https://github.com/less/less.js.git
synced 2026-01-23 06:07:56 -05:00
possible fix for https://github.com/less/less.js/issues/2370 I have used the following command to test this issue: `printf "p {\r//less\rc:1;\r}\r" | lessc -` I'm not sure if this the most efficient fix. I also tried `var nextNewLine = inp.substr(parserInput.i + 1).search(/\n|\r/);` to replace the `indexOf` but then i expect possible mismatches for `\r\n` which match on the first `\r`.