mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-14 07:08:00 -05:00
Eliminate carriage returns from reply and forward text.
Fixes Issue 518
This commit is contained in:
parent
8285766506
commit
f29f5adc4b
@ -1226,6 +1226,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
|||||||
Address.toString(mSourceMessage.getFrom()));
|
Address.toString(mSourceMessage.getFrom()));
|
||||||
|
|
||||||
quotedText += MimeUtility.getTextFromPart(part).replaceAll("(?m)^", ">");
|
quotedText += MimeUtility.getTextFromPart(part).replaceAll("(?m)^", ">");
|
||||||
|
quotedText = quotedText.replaceAll("\\\r", "");
|
||||||
mQuotedText.setText(quotedText);
|
mQuotedText.setText(quotedText);
|
||||||
|
|
||||||
mQuotedTextBar.setVisibility(View.VISIBLE);
|
mQuotedTextBar.setVisibility(View.VISIBLE);
|
||||||
@ -1332,7 +1333,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
|||||||
mSourceMessage.getRecipients(RecipientType.TO)),
|
mSourceMessage.getRecipients(RecipientType.TO)),
|
||||||
Address.toString(
|
Address.toString(
|
||||||
mSourceMessage.getRecipients(RecipientType.CC)));
|
mSourceMessage.getRecipients(RecipientType.CC)));
|
||||||
|
quotedText = quotedText.replaceAll("\\\r", "");
|
||||||
text += quotedText;
|
text += quotedText;
|
||||||
mQuotedText.setText(text);
|
mQuotedText.setText(text);
|
||||||
mQuotedTextBar.setVisibility(View.VISIBLE);
|
mQuotedTextBar.setVisibility(View.VISIBLE);
|
||||||
|
Loading…
Reference in New Issue
Block a user