Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 116e9598da3fd31cd22641a0f4d3011edc83be53 1 parent a0ee0b1
cketti authored June 01, 2012
1  src/com/fsck/k9/mail/internet/MimeUtility.java
@@ -3324,6 +3324,7 @@ private static ViewableContainer extractTextual(Part part) throws MessagingExcep
3324 3324
             String bodyText = getTextFromPart(part);
3325 3325
             if (bodyText != null) {
3326 3326
                 text = fixDraftTextBody(bodyText);
  3327
+                html = HtmlConverter.textToHtml(text, false);
3327 3328
             }
3328 3329
         } else if (part.isMimeType("multipart/alternative") &&
3329 3330
                 firstBody instanceof MimeMultipart) {

0 notes on commit 116e959

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