зеркало из https://github.com/mozilla/pjs.git
The mInWhitespace fix broke the automated tests -- need to find another solution
This commit is contained in:
Родитель
8ec8ead6e4
Коммит
c80d995c86
|
@ -245,8 +245,10 @@ nsHTMLToTXTSinkStream::Initialize(nsIOutputStream* aOutStream,
|
|||
|
||||
// If we're encoding only the selection, then we don't want to risk
|
||||
// ignoring whitespace which might be significant:
|
||||
if (mFlags | nsIDocumentEncoder::OutputSelectionOnly)
|
||||
mInWhitespace = PR_FALSE;
|
||||
// Unfortunately, this isn't the right solution because then we
|
||||
// always get a space at the beginning of selection-only output!
|
||||
// if (mFlags | nsIDocumentEncoder::OutputSelectionOnly)
|
||||
// mInWhitespace = PR_FALSE;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
@ -245,8 +245,10 @@ nsHTMLToTXTSinkStream::Initialize(nsIOutputStream* aOutStream,
|
|||
|
||||
// If we're encoding only the selection, then we don't want to risk
|
||||
// ignoring whitespace which might be significant:
|
||||
if (mFlags | nsIDocumentEncoder::OutputSelectionOnly)
|
||||
mInWhitespace = PR_FALSE;
|
||||
// Unfortunately, this isn't the right solution because then we
|
||||
// always get a space at the beginning of selection-only output!
|
||||
// if (mFlags | nsIDocumentEncoder::OutputSelectionOnly)
|
||||
// mInWhitespace = PR_FALSE;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче