Merge pull request #95 from ashleywillis/reply-after-quote

added "mQuotedHtmlContent.setFooterInsertionPoint(bodyOffset);"
This commit is contained in:
Andrew Chen 2011-11-07 15:51:05 -08:00
commit a2fcb54507
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}
}