Version: onbekend (using 4.2.1 (KDE 4.2.1) "release 104", KDE:KDE4:Factory:Desktop / openSUSE_11.0) Compiler: gcc OS: Linux (i686) release 2.6.25.20-0.1-default I've received an e-mail which has the following parts: * multipart/alternative - 1. text/plain - 2. text/html - 3. image/jpeg - 4. image/jpeg This doesn't seam right to me, as you'd generally expect the following structure: * multipart/related - 1. multipart/alternative. - 1.1. text/plain - 1.2. text/html - 2. image/jpeg - 3. image/jpeg However, most other email clients seam to handle the broken structure quite well. Only KMail appears to display both the plain text version above the HTML version, which makes it look bad.
Correction, the received structure appeared to be: * multipart/alternative - 1. text/plain - 2 multipart/related - 2.1 text/html - 2.2 image/jpeg - 2.3 image/jpeg (so there is multipart/alternative and multipart/related mixed up). In this case, KMail will show the plain text version above the HTML version.
SVN commit 1002770 by tmcguire: Also support multipart/alternative with text/plain and multipart/related as children, instead of the usual text/plain and text/html. This fixes that the content of some Newsletters with images was rendered twice, bot the HTML and the plain text part was shown. BUG: 187989 M +7 -0 objecttreeparser.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1002770
*** Bug 118708 has been marked as a duplicate of this bug. ***
SVN commit 1003741 by amantia: Merge rev. 1002770: "Also support multipart/alternative with text/plain and multipart/related as children, instead of the usual text/plain and text/html. This fixes that the content of some Newsletters with images was rendered twice, bot the HTML and the plain text part was shown. BUG: 187989" M +7 -0 objecttreeparser.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1003741
SVN commit 1005078 by tmcguire: Backport r1002770 by tmcguire from trunk to the 4.3 branch: Also support multipart/alternative with text/plain and multipart/related as children, instead of the usual text/plain and text/html. This fixes that the content of some Newsletters with images was rendered twice, bot the HTML and the plain text part was shown. CCBUG: 187989 M +7 -0 objecttreeparser.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1005078