зеркало из https://github.com/mozilla/pjs.git
fix for 23551: plaintext mail quoting broken. editor rules code was unaware that we were utting html elements into plaintext (namely pre, used to contain the quote). fixed.
This commit is contained in:
Родитель
45afa7226c
Коммит
fa5d490ec1
|
@ -208,6 +208,9 @@ nsTextEditRules::WillDoAction(nsIDOMSelection *aSelection,
|
|||
info->outString,
|
||||
aCancel,
|
||||
aHandled);
|
||||
case kInsertElement: // i had thought this would be html rules only. but we put pre elements
|
||||
// into plaintext mail when doing quoting for reply! doh!
|
||||
return WillInsert(aSelection, aCancel);
|
||||
}
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
|
|
@ -208,6 +208,9 @@ nsTextEditRules::WillDoAction(nsIDOMSelection *aSelection,
|
|||
info->outString,
|
||||
aCancel,
|
||||
aHandled);
|
||||
case kInsertElement: // i had thought this would be html rules only. but we put pre elements
|
||||
// into plaintext mail when doing quoting for reply! doh!
|
||||
return WillInsert(aSelection, aCancel);
|
||||
}
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче