fixed bug 1312

This commit is contained in:
rickg@netscape.com
1998-11-24 02:38:50 +00:00
parent 32f9424163
commit e2f4b2080b
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);
}