From 79358daea3e2f2c22bef3cf666ea87ad0b73f549 Mon Sep 17 00:00:00 2001 From: "ben%bengoodger.com" Date: Wed, 23 Mar 2005 21:37:43 +0000 Subject: [PATCH] 258673 - save page as (complete) mangles ampersand escaped sequences... add addtl encoding flags for rich text saves --- toolkit/content/contentAreaUtils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toolkit/content/contentAreaUtils.js b/toolkit/content/contentAreaUtils.js index 99f6d7de59b1..46c9d032e963 100644 --- a/toolkit/content/contentAreaUtils.js +++ b/toolkit/content/contentAreaUtils.js @@ -282,6 +282,9 @@ function foundHeaderInfo(aSniffer, aData, aSkipPrompt) encodingFlags |= nsIWBP.ENCODE_FLAGS_ABSOLUTE_LINKS; encodingFlags |= nsIWBP.ENCODE_FLAGS_NOFRAMES_CONTENT; } + else { + encodingFlags |= nsIWBP.ENCODE_FLAGS_ENCODE_BASIC_ENTITIES; + } const kWrapColumn = 80; dl.init(aSniffer.uri, persistArgs.target, null, null, null, persist);