fixed bug 1312

This commit is contained in:
rickg%netscape.com 1998-11-24 02:38:50 +00:00
parent 5d77ac2437
commit fdba1f6194
2 changed files with 8 additions and 2 deletions

View File

@ -933,7 +933,10 @@ nsresult CAttributeToken::Consume(PRUnichar aChar, CScanner& aScanner) {
mTextValue=aChar;
result=ConsumeQuotedString(aChar,mTextValue,aScanner);
}
else {
else if(kGreaterThan==aChar){
aScanner.PutBack(aChar);
}
else {
mTextValue=aChar; //it's an alphanum attribute...
result=ConsumeAttributeValueText(aChar,mTextValue,aScanner);
}

View File

@ -933,7 +933,10 @@ nsresult CAttributeToken::Consume(PRUnichar aChar, CScanner& aScanner) {
mTextValue=aChar;
result=ConsumeQuotedString(aChar,mTextValue,aScanner);
}
else {
else if(kGreaterThan==aChar){
aScanner.PutBack(aChar);
}
else {
mTextValue=aChar; //it's an alphanum attribute...
result=ConsumeAttributeValueText(aChar,mTextValue,aScanner);
}