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 newline character encoding #219

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

royludo
Copy link

@royludo royludo commented Jul 21, 2017

This library suffers from the problem described here: https://stackoverflow.com/a/2012277
Newlines are not encoded properly.
PR fix this by encoding \n as 
 (LF) and properly decoding 
 as \n.

@edi9999
Copy link

edi9999 commented Sep 16, 2017

Can you please add a unit test for this usecase ?

@royludo
Copy link
Author

royludo commented Sep 20, 2017

Could you add instructions on how to run the tests and put the required test-related dependencies in devDependencies ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants