1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

Eliminate carriage returns from reply and forward text.

Fixes Issue 518
This commit is contained in:
Daniel Applebaum 2010-01-08 04:27:58 +00:00
parent 8285766506
commit f29f5adc4b

View File

@ -1226,6 +1226,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
Address.toString(mSourceMessage.getFrom()));
quotedText += MimeUtility.getTextFromPart(part).replaceAll("(?m)^", ">");
quotedText = quotedText.replaceAll("\\\r", "");
mQuotedText.setText(quotedText);
mQuotedTextBar.setVisibility(View.VISIBLE);
@ -1332,7 +1333,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
mSourceMessage.getRecipients(RecipientType.TO)),
Address.toString(
mSourceMessage.getRecipients(RecipientType.CC)));
quotedText = quotedText.replaceAll("\\\r", "");
text += quotedText;
mQuotedText.setText(text);
mQuotedTextBar.setVisibility(View.VISIBLE);