SVN commit 601048 by carewolf: Ah, what the hell. Add the Firefox compatible leniency as well BUG: 115933 M +2 -1 htmltokenizer.cpp --- branches/KDE/3.5/kdelibs/khtml/html/htmltokenizer.cpp #601047:601048 @@ -706,7 +706,8 @@ if(Entity == SearchSemicolon) { if(cBufferPos > 1) { const entity *e = kde_findEntity(cBuffer, cBufferPos); - if(e && ( e->code < 256 || *src == ';' )) { + // IE only accepts unterminated entities < 256, Gecko accepts them all + if(e) { EntityChar = e->code; entityLen = cBufferPos; }