From efe591c34d872a244fff16c9b25afc1f9897bbbe Mon Sep 17 00:00:00 2001 From: ashley willis Date: Mon, 7 Nov 2011 01:59:03 -0600 Subject: [PATCH] added "mQuotedHtmlContent.setFooterInsertionPoint(bodyOffset);" because bodyOffset could refer to header or footer --- src/com/fsck/k9/activity/MessageCompose.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/fsck/k9/activity/MessageCompose.java b/src/com/fsck/k9/activity/MessageCompose.java index c14486d37..3a282a947 100644 --- a/src/com/fsck/k9/activity/MessageCompose.java +++ b/src/com/fsck/k9/activity/MessageCompose.java @@ -2183,7 +2183,9 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc if (quotedHTML.length() > 0) { mQuotedHtmlContent = new InsertableHtmlContent(); mQuotedHtmlContent.setQuotedContent(quotedHTML); + // We don't know if bodyOffset refers to the header or to the footer mQuotedHtmlContent.setHeaderInsertionPoint(bodyOffset); + mQuotedHtmlContent.setFooterInsertionPoint(bodyOffset); mQuotedHTML.loadDataWithBaseURL("http://", mQuotedHtmlContent.getQuotedContent(), "text/html", "utf-8", null); } }