remove warnings, bug fixes, API enhancements

This commit is contained in:
rickg@netscape.com
1999-07-25 17:23:24 +00:00
parent cffe0430a7
commit a30817a6cc
22 changed files with 280 additions and 180 deletions
+3 -1
View File
@@ -883,7 +883,9 @@ 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("<!"))
nsAutoString theLeft("");
theText.Left(theLeft,2);
if(theLeft!="<!")
::WriteText(nsAutoString("<!"),*mSink,PR_TRUE,mIsPlaintext,theContext);
::WriteText(theText,*mSink,PR_TRUE,mIsPlaintext,theContext);
if(kGreaterThan!=theText.Last())