Skip to content

Fix newline character encoding - #219

Open
royludo wants to merge 4 commits into
jindw:masterfrom
royludo:master
Open

Fix newline character encoding#219
royludo wants to merge 4 commits into
jindw:masterfrom
royludo:master

Conversation

@royludo

@royludo royludo commented Jul 21, 2017

Copy link
Copy Markdown

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

edi9999 commented Sep 16, 2017

Copy link
Copy Markdown

Can you please add a unit test for this usecase ?

@royludo

royludo commented Sep 20, 2017

Copy link
Copy Markdown
Author

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