5924: Fix XIF handling of HTML comments, and also pass through the document's original formatting whitespace

git-svn-id: svn://10.0.0.236/trunk@36697 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
akkana%netscape.com
1999-06-24 20:15:52 +00:00
parent 814fdc1213
commit 2787dec93c
16 changed files with 216 additions and 85 deletions

View File

@@ -154,6 +154,7 @@ protected:
PRInt32 mHTMLStackPos;
eHTMLTags mHTMLTagStack[1024]; // warning: hard-coded nesting level
PRInt32 mColPos;
PRBool mInBody;
PRBool mDoFormat;
PRBool mDoHeader;
@@ -171,13 +172,13 @@ extern NS_HTMLPARS nsresult
NS_New_HTML_ContentSinkStream(nsIHTMLContentSink** aInstancePtrResult,
nsIOutputStream* aOutStream,
const nsString* aCharsetOverride=nsnull,
PRBool aDoFormat = PR_TRUE,
PRBool aDoFormat = PR_FALSE,
PRBool aDoHeader = PR_TRUE);
extern NS_HTMLPARS nsresult
NS_New_HTML_ContentSinkStream(nsIHTMLContentSink** aInstancePtrResult,
nsString* aOutString,
PRBool aDoFormat = PR_TRUE,
PRBool aDoFormat = PR_FALSE,
PRBool aDoHeader = PR_TRUE);