Skip to content
Browse files

Create an HTML version of text/plain-only drafts in the database

Without this, text/plain-only messages with K-9 Mail's "identity header"
are displayed as "No text" (when moved out of the Drafts folder).
  • Loading branch information...
1 parent a0ee0b1 commit 116e9598da3fd31cd22641a0f4d3011edc83be53 @cketti cketti committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/com/fsck/k9/mail/internet/
1 src/com/fsck/k9/mail/internet/
@@ -3324,6 +3324,7 @@ private static ViewableContainer extractTextual(Part part) throws MessagingExcep
String bodyText = getTextFromPart(part);
if (bodyText != null) {
text = fixDraftTextBody(bodyText);
+ html = HtmlConverter.textToHtml(text, false);
} else if (part.isMimeType("multipart/alternative") &&
firstBody instanceof MimeMultipart) {

0 comments on commit 116e959

Please sign in to comment.
Something went wrong with that request. Please try again.