The mInWhitespace fix broke the automated tests -- need to find another solution

This commit is contained in:
akkana%netscape.com 2000-04-26 02:21:41 +00:00
Родитель 8ec8ead6e4
Коммит c80d995c86
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -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;
}