fixed bug 1312

git-svn-id: svn://10.0.0.236/trunk@15227 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1998-11-24 02:38:50 +00:00
parent 69aa236de9
commit 7dbb22e801
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);
}