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:
jfrancis%netscape.com 2000-01-12 02:58:57 +00:00
Родитель 45afa7226c
Коммит fa5d490ec1
2 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -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;
}