Don't strip \r from quoted text
This commit is contained in:
parent
1222a2730b
commit
b6b71cbf42
1 changed files with 1 additions and 2 deletions
|
@ -46,8 +46,7 @@ public class TextQuoteCreator {
|
|||
final String escapedPrefix = prefix.replaceAll("(\\\\|\\$)", "\\\\$1");
|
||||
quotedText.append(wrappedText.replaceAll("(?m)^", escapedPrefix));
|
||||
|
||||
// TODO is this correct?
|
||||
return quotedText.toString().replaceAll("\\\r", "");
|
||||
return quotedText.toString();
|
||||
} else if (quoteStyle == QuoteStyle.HEADER) {
|
||||
StringBuilder quotedText = new StringBuilder(body.length() + QUOTE_BUFFER_LENGTH);
|
||||
quotedText.append("\r\n");
|
||||
|
|
Loading…
Reference in a new issue