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

\r\n ignored (not producing newlines) #69

Open
then0rTh opened this issue Feb 3, 2019 · 2 comments
Open

\r\n ignored (not producing newlines) #69

then0rTh opened this issue Feb 3, 2019 · 2 comments

Comments

@then0rTh
Copy link

then0rTh commented Feb 3, 2019

Solved it by .replace(/\r\n/g, '\n') prior to parsing.

Feel free to [won't fix] this issue - \r\n are weird anyway.

@swyxio
Copy link

swyxio commented Jan 10, 2022

ran into this too - without it, my newlines was parsing like this

image

and with this replacement it parses like this:

image

still not a clean fix (newlines are condensed) but progress.

@swyxio
Copy link

swyxio commented Jan 10, 2022

the newlines not being paragraphs look like a known issue, i guess. #11

i tried this replacement strategy #11 (comment) and it worked for me.

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

No branches or pull requests

2 participants