fix bug 10109

This commit is contained in:
rickg@netscape.com
1999-07-19 05:30:49 +00:00
parent 36d0638eb1
commit d2468f887d
4 changed files with 16 additions and 34 deletions
+1
View File
@@ -551,6 +551,7 @@ nsresult nsHTMLTokenizer::ConsumeEntity(PRUnichar aChar,CToken*& aToken,nsScanne
//convert it into a text token.
nsAutoString temp("&");
temp.Append(theStr);
temp.Append(';');
CToken* theToken=theRecycler->CreateTokenOfType(eToken_text,eHTMLTag_text,temp);
theRecycler->RecycleToken(aToken);
aToken=theToken;