Don’t replace CRLF with LF before parsing CSS
Now that we can handle CRLF correctly in the parser this is no longer necessary
This commit is contained in:
parent
da86e231d4
commit
65409a98d9
1 changed files with 0 additions and 1 deletions
|
|
@ -36,7 +36,6 @@ export function parse(input: string) {
|
|||
// *before* processing do NOT change the length of the string. This
|
||||
// would invalidate the mechanism used to track source locations.
|
||||
if (input[0] === '\uFEFF') input = ' ' + input.slice(1)
|
||||
input = input.replaceAll('\r\n', ' \n')
|
||||
|
||||
let ast: AstNode[] = []
|
||||
let licenseComments: Comment[] = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue