node-html-to-text
node-html-to-text copied to clipboard
Formatter uses UNIX end-of-line characters
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?
Why not replace all \n with \r\n in your output? Should be a simple wrapper around html-to-text.
Yes, already did that. Thanks for the suggestion.