1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-17 21:32:26 -05:00

We forgot to HTML markup the body of the message in cases where we

weren't quoting any text
This commit is contained in:
Jesse Vincent 2011-06-20 18:26:19 -07:00
parent 378002c62a
commit 2f48309f82

View File

@ -913,12 +913,14 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
if (!isDraft && !mQuotedTextMode.equals(QuotedTextMode.SHOW)) { if (!isDraft && !mQuotedTextMode.equals(QuotedTextMode.SHOW)) {
discardQuotedText = true; discardQuotedText = true;
} }
if (discardQuotedText) { if (discardQuotedText) {
if (!isDraft) { if (!isDraft) {
text = appendSignature(text); text = appendSignature(text);
} }
text = HtmlConverter.textToHtmlFragment(text);
// Build the body. // Build the body.
TextBody body = new TextBody(text); TextBody body = new TextBody(text);
body.setComposedMessageLength(text.length()); body.setComposedMessageLength(text.length());