-
-
Notifications
You must be signed in to change notification settings - Fork 440
Closed
Description
Windows-style line endings \r\n
break chroma's syntax highlighting. I've seen it break in different ways, but most commonly it will then render everything as spaces instead of text.
Providing a copyable text is difficult, as the GitHub interface would cleanup the line endings. GitHub also doesn't let me attach such a file to this issue.
Replacing \r\n
and \r
with \n
before passing the source to chroma works around the problem.
Metadata
Metadata
Assignees
Labels
No labels