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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user