зеркало из https://github.com/mozilla/gecko-dev.git
258673 - save page as (complete) mangles ampersand escaped sequences... add addtl encoding flags for rich text saves
This commit is contained in:
Родитель
73f0de6676
Коммит
79358daea3
|
@ -282,6 +282,9 @@ function foundHeaderInfo(aSniffer, aData, aSkipPrompt)
|
||||||
encodingFlags |= nsIWBP.ENCODE_FLAGS_ABSOLUTE_LINKS;
|
encodingFlags |= nsIWBP.ENCODE_FLAGS_ABSOLUTE_LINKS;
|
||||||
encodingFlags |= nsIWBP.ENCODE_FLAGS_NOFRAMES_CONTENT;
|
encodingFlags |= nsIWBP.ENCODE_FLAGS_NOFRAMES_CONTENT;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
encodingFlags |= nsIWBP.ENCODE_FLAGS_ENCODE_BASIC_ENTITIES;
|
||||||
|
}
|
||||||
|
|
||||||
const kWrapColumn = 80;
|
const kWrapColumn = 80;
|
||||||
dl.init(aSniffer.uri, persistArgs.target, null, null, null, persist);
|
dl.init(aSniffer.uri, persistArgs.target, null, null, null, persist);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче