From 17dc1c52bc03c5b3e38da2082e8745cc3aeed04c Mon Sep 17 00:00:00 2001 From: Philip Whitehouse Date: Sat, 7 Jan 2017 17:26:27 +0000 Subject: [PATCH] Style quoted content --- k9mail/src/main/java/com/fsck/k9/view/MessageWebView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/k9mail/src/main/java/com/fsck/k9/view/MessageWebView.java b/k9mail/src/main/java/com/fsck/k9/view/MessageWebView.java index dc6b93995..ababb415d 100644 --- a/k9mail/src/main/java/com/fsck/k9/view/MessageWebView.java +++ b/k9mail/src/main/java/com/fsck/k9/view/MessageWebView.java @@ -17,6 +17,7 @@ import android.widget.Toast; import com.fsck.k9.K9; import com.fsck.k9.K9.Theme; import com.fsck.k9.R; +import com.fsck.k9.helper.HtmlConverter; import com.fsck.k9.mailstore.AttachmentResolver; @@ -117,7 +118,7 @@ public class MessageWebView extends RigidWebView { public void displayHtmlContentWithInlineAttachments(@NonNull String htmlText, @Nullable AttachmentResolver attachmentResolver, @Nullable OnPageFinishedListener onPageFinishedListener) { setWebViewClient(attachmentResolver, onPageFinishedListener); - setHtmlContent(htmlText); + setHtmlContent(HtmlConverter.wrapMessageContent(htmlText)); } private void setWebViewClient(@Nullable AttachmentResolver attachmentResolver,