60498 - Strip off embedded null char found between tokens/tags.
r=heikki sr=vidur git-svn-id: svn://10.0.0.236/trunk@84889 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -462,7 +462,12 @@ nsresult nsHTMLTokenizer::ConsumeToken(nsScanner& aScanner,PRBool& aFlushTokens)
|
||||
}
|
||||
else {
|
||||
if(!nsCRT::IsAsciiSpace(theChar)) {
|
||||
result=ConsumeText(theToken,aScanner);
|
||||
if(theChar!=nsnull) {
|
||||
result=ConsumeText(theToken,aScanner);
|
||||
}
|
||||
else {
|
||||
aScanner.GetChar(theChar); // skip the embedded null char. Fix bug 64098.
|
||||
}
|
||||
break;
|
||||
}
|
||||
result=ConsumeWhitespace(theChar,theToken,aScanner);
|
||||
|
||||
Reference in New Issue
Block a user