We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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

Parser does not parse carriage return 
 correctly
import { parse } from "fast-xml-parser"; console.log( parse(` <?xml version="1.0"?> <Body>hello
 world</Body>`) );
{ Body: 'hello
\nworld' }
{ Body: 'hello&\r\nworld' }
Would you like to work on this issue?
Bookmark this repository for further updates.
The text was updated successfully, but these errors were encountered:
Related: #297
Sorry, something went wrong.
please check v4.0.0-beta.4
No branches or pull requests
Description
Parser does not parse carriage return

correctlyInput
Code
Output
{ Body: 'hello
\nworld' }
expected data
{ Body: 'hello&\r\nworld' }
Would you like to work on this issue?
Bookmark this repository for further updates.
The text was updated successfully, but these errors were encountered: