Fix for bug 62782. Edge case in scanner caused us to drop characters occasionally. Thanks to jst for identification of the problem. r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@83796 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -539,7 +539,7 @@ nsresult nsHTMLTokenizer::ConsumeTag(PRUnichar aChar,CToken*& aToken,nsScanner&
|
||||
aScanner.GetChar(oldChar);
|
||||
result=ConsumeStartTag(aChar,aToken,aScanner,aFlushTokens);
|
||||
}
|
||||
else if(kEOF!=aChar) {
|
||||
else {
|
||||
// We are not dealing with a tag. So, don't consume the original
|
||||
// char and leave the decision to ConsumeText().
|
||||
result=ConsumeText(aToken,aScanner);
|
||||
|
||||
Reference in New Issue
Block a user