fixed bug 15881; r=kmcclusk

This commit is contained in:
rickg@netscape.com
1999-10-07 23:52:29 +00:00
parent 777d8b6a00
commit 591a931e83
2 changed files with 4 additions and 4 deletions

View File

@@ -34,8 +34,6 @@
static const char* gUserdefined = "userdefined";
const PRInt32 kMAXNAMELEN=10;
/**************************************************************
And now for the token classes...
@@ -1232,6 +1230,7 @@ nsresult CAttributeToken::Consume(PRUnichar aChar, nsScanner& aScanner,PRInt32 a
else if(kGreaterThan==aChar){
result=aScanner.PutBack(aChar);
}
#if 0
else if(kAmpersand==aChar) {
mTextValue=aChar;
result=aScanner.GetChar(aChar);
@@ -1240,6 +1239,7 @@ nsresult CAttributeToken::Consume(PRUnichar aChar, nsScanner& aScanner,PRInt32 a
result=CEntityToken::ConsumeEntity(aChar,mTextValue,aScanner);
}
}
#endif
else {
mTextValue=aChar; //it's an alphanum attribute...
result=ConsumeAttributeValueText(aChar,mTextValue,aScanner);