This commit is contained in:
rickg%netscape.com 1998-11-24 02:38:50 +00:00
Родитель 5d77ac2437
Коммит fdba1f6194
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -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);
}

Просмотреть файл

@ -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);
}