bug 83378: plaintext mail reply editong problem in quotes
git-svn-id: svn://10.0.0.236/trunk@123153 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1685,7 +1685,8 @@ nsPlaintextEditor::InsertAsQuotation(const nsAString& aQuotedText,
|
||||
|
||||
// It's best to put a blank line after the quoted text so that mails
|
||||
// written without thinking won't be so ugly.
|
||||
quotedStuff.Append(PRUnichar('\n'));
|
||||
if (!aQuotedText.IsEmpty() && (aQuotedText.Last() != PRUnichar('\n')))
|
||||
quotedStuff.Append(PRUnichar('\n'));
|
||||
|
||||
nsCOMPtr<nsIDOMNode> preNode;
|
||||
// get selection
|
||||
|
||||
Reference in New Issue
Block a user