-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
HTML-only mail shown as empty, should show something #1804
Comments
I was faced a similar problem with peer using GMX mail client. It looks like another issue in mail produces a crash in dehtml too. Old c-core showed the raw mail sources in such a case. IMHO this would be a better approach than showing nothing? |
I can reproduce this in a test. The problem is that the html starts with |
This fixes #1804 in two ways: First, it removes a <!doctype html> from the start of the mail, if there is any. Then, it parses the html itself it quick-xml fails, just stripping everything between < and >. Both of these would have fixed this specific issue. Also, add tests for both fixes.
This fixes #1804 in two ways: First, it removes a <!doctype html> from the start of the mail, if there is any. Then, it parses the html itself it quick-xml fails, just stripping everything between < and >. Both of these would have fixed this specific issue. Also, add tests for both fixes.
Using: Desktop/Master from a few days ago.
Issue: got a reservation request html-only reply mail which shows as completely empty in DC
mime mail in source (hidden domains): hoc1.txt
How it shows in DC, including Message-info:
The text was updated successfully, but these errors were encountered: