mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
more bad content parsing improvements
This commit is contained in:
parent
9fb5c21d0a
commit
894b2a6a24
@ -833,7 +833,7 @@ nsresult CAttributeToken::Consume(PRUnichar aChar, CScanner& aScanner) {
|
||||
//from the middle of the value. Try stripping the quote and continuing...
|
||||
|
||||
if(kQuote==aChar){
|
||||
result=aScanner.GetChar(aChar); //strip quote.
|
||||
result=aScanner.SkipOver(aChar); //strip quote.
|
||||
}
|
||||
}
|
||||
}//if
|
||||
|
@ -833,7 +833,7 @@ nsresult CAttributeToken::Consume(PRUnichar aChar, CScanner& aScanner) {
|
||||
//from the middle of the value. Try stripping the quote and continuing...
|
||||
|
||||
if(kQuote==aChar){
|
||||
result=aScanner.GetChar(aChar); //strip quote.
|
||||
result=aScanner.SkipOver(aChar); //strip quote.
|
||||
}
|
||||
}
|
||||
}//if
|
||||
|
Loading…
Reference in New Issue
Block a user