Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Handle rogue carriage returns #547

Merged
merged 1 commit into from
Feb 8, 2022
Merged

Conversation

charlespwd
Copy link
Contributor

Turns out that everything blows up when we have \r without a followup \n in a file. Nokogiri will handle it and give you a new line, but we didn't and so we ended up with nokogiri telling you something was on line 61 and us not having the newline character and the thing being on line 60.

Fixes #528
Fixes #545

Turns out that everything blows up when we have \r without a followup \n in a file. Nokogiri will handle it and give you a new line, but we didn't and so we ended up with nokogiri telling you something was on line 61 and us not having the newline character and the thing being on line 60.

Fixes #528
Fixes #545
@charlespwd charlespwd merged commit f8f051e into main Feb 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant