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:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user