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

Formatter uses UNIX end-of-line characters #127

Open
dmrzn opened this issue Apr 6, 2017 · 2 comments
Open

Formatter uses UNIX end-of-line characters #127

dmrzn opened this issue Apr 6, 2017 · 2 comments

Comments

@dmrzn
Copy link

dmrzn commented Apr 6, 2017

Hi All
I've noticed that the resulting text contains '\n' characters as new line characters.
Could the formatter be modified the way that it would output environment-specific new line characters - LF - for Unix systems and CRLF for Windows?

@mlegenhausen
Copy link
Member

Why not replace all \n with \r\n in your output? Should be a simple wrapper around html-to-text.

@dmrzn
Copy link
Author

dmrzn commented Apr 6, 2017

Yes, already did that. Thanks for the suggestion.

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