[kmail2] [Bug 368060] Replying to html email that has a PDF attachment creates junk in the reply
Simon Levitt
bugzilla_noreply at kde.org
Tue Oct 25 22:07:08 BST 2016
https://bugs.kde.org/show_bug.cgi?id=368060
--- Comment #8 from Simon Levitt <kde-bugs at whattf.com> ---
Created attachment 101783
--> https://bugs.kde.org/attachment.cgi?id=101783&action=edit
Code hack
After some more digging around, I discovered that toplevelTextNode() in
utils.cpp is returning non-text parts.
That is because AttachmentMessagePart extends TextMessagePart, and therefore
it's been deeming images/etc. as textual.
The attached patch hacks a quick fix to not return an AttachmentMessagePart
which seems to work around the problem and makes replies work as expected for
me.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list