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
It seems the first line break for the text output is being ignored:
const simpleParser = require('mailparser').simpleParser; var mail = `Content-Type: text/plain; charset=utf-8; format=flowed Hello test 123 `; simpleParser(mail, {}, (err, parsed) => { console.log(parsed); });
will output
text: 'Hellotest\n123\n\n',
The first line break after Hello gets ignored.
The text was updated successfully, but these errors were encountered:
I also ran into this issue. The problem is a bug within the libmime package, which is used by mail-split
@andris9 has merged a pull request with a fix, and I'm sure he will update mail-split and this repository soon.
Sorry, something went wrong.
No branches or pull requests
It seems the first line break for the text output is being ignored:
will output
text: 'Hellotest\n123\n\n',
The first line break after Hello gets ignored.
The text was updated successfully, but these errors were encountered: