Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(getLines): carriage return was not being removed with new lines. #390

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pachecot
Copy link

getLines function is returning lines with out trimming the trailing carriage return.

anything using this might be appending strings to the carriage return terminated strings causing formatting issues.

Related
#383
#386

a number of functions using this might be appending strings to the carriage return terminated strings causing formatting issues.
@bashbunni
Copy link
Member

Quick note on this one: we should probably follow a similar implementation to what we did here using strings.ReplaceAll to strip all \r from the string 💭

@bashbunni bashbunni added the bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants