nashwaan / xml-js

Converter utility between XML text and Javascript object / JSON text.
MIT License
1.28k stars 182 forks source link

Configurable New Line Format: LF or CRLF or Custom #87

Open mdileep opened 6 years ago

nashwaan commented 5 years ago

Well, this is possible to implement as a new option in this library, but at the moment this can be achieved outside the library. For example, after getting xml output, you can replace all of \n characters with \r.

I will consider implementing it as part of this library if I get more request on this feature.

giovannefc commented 5 years ago

+1

JaoodxD commented 3 years ago

+1. At some point i needed to have instead of literal \r\n symbols, so It could be good to have the internal solution for it