The mInWhitespace fix broke the automated tests -- need to find another solution
git-svn-id: svn://10.0.0.236/trunk@67171 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8b0c5ad03e
commit
00fbe97972
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user