mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-05-13 08:57:27 +00:00
wrong API, sorry
This commit is contained in:
parent
662511abf2
commit
60531f0ad3
@ -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())
|
||||
|
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user