Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 116e9598da3fd31cd22641a0f4d3011edc83be53 1 parent a0ee0b1
@cketti cketti authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/com/fsck/k9/mail/internet/MimeUtility.java
View
1  src/com/fsck/k9/mail/internet/MimeUtility.java
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.