[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/html
From:       Allan Sandfeld Jensen <kde () carewolf ! com>
Date:       2006-11-01 20:56:57
Message-ID: 1162414617.055084.12691.nullmailer () svn ! kde ! org
[Download RAW message or body]

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;
                     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic