Fixing rtm++ bug 56212. The new serializers were a bit too eager about what characters to encode as entities, this caused bad things when sending email that contained double quotes and also when writing a message containing quotes in AIM. sr=vidur, r=nisheeth.

git-svn-id: svn://10.0.0.236/trunk@81129 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com
2000-10-13 11:06:05 +00:00
parent 7b1565f51b
commit 9870b6af65
12 changed files with 330 additions and 70 deletions

View File

@@ -1604,7 +1604,7 @@ nsEditor::SaveFile(nsFileSpec *aFileSpec, PRBool aReplaceExisting,
return NS_ERROR_NO_INTERFACE;
// Should we prettyprint?
PRUint32 flags = 0;
PRUint32 flags = nsIDocumentEncoder::OutputEncodeEntities;
NS_WITH_SERVICE(nsIPref, prefService, kPrefServiceCID, &rv);
if (NS_SUCCEEDED(rv) && prefService)
{