Index: khtml/html/htmltokenizer.cpp =================================================================== --- khtml/html/htmltokenizer.cpp (revision 1002163) +++ khtml/html/htmltokenizer.cpp (revision 1002164) @@ -736,7 +736,7 @@ #ifdef TOKEN_DEBUG kdDebug( 6036 ) << "unknown entity!" << endl; #endif - checkBuffer(10); + checkBuffer(11); // ignore the sequence, add it to the buffer as plaintext *dest++ = '&'; for(unsigned int i = 0; i < cBufferPos; i++)