wrong API, sorry

This commit is contained in:
rickg%netscape.com 1999-05-04 04:49:48 +00:00
parent 662511abf2
commit 60531f0ad3
2 changed files with 2 additions and 2 deletions

View File

@ -727,7 +727,7 @@ NS_IMETHODIMP CViewSourceHTML::HandleToken(CToken* aToken,nsIParser* aParser) {
nsString& theText=aToken->GetStringValueXXX();
//if the comment has had it's markup stripped, then write it out seperately...
if(0!=theText.Find("<!",0))
if(0!=theText.Find("<!"))
WriteText(nsAutoString("<!"),*mSink,PR_TRUE);
WriteText(theText,*mSink,PR_TRUE);
if(kGreaterThan!=theText.Last())

View File

@ -727,7 +727,7 @@ NS_IMETHODIMP CViewSourceHTML::HandleToken(CToken* aToken,nsIParser* aParser) {
nsString& theText=aToken->GetStringValueXXX();
//if the comment has had it's markup stripped, then write it out seperately...
if(0!=theText.Find("<!",0))
if(0!=theText.Find("<!"))
WriteText(nsAutoString("<!"),*mSink,PR_TRUE);
WriteText(theText,*mSink,PR_TRUE);
if(kGreaterThan!=theText.Last())