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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/html
From:       Maks Orlovich <maksim () kde ! org>
Date:       2005-12-06 22:58:33
Message-ID: 1133909913.817229.320.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 486161 by orlovich:

Don't let strict SGML comment parsing intefere with quirkiness that's 
<script> and <style> in HTML.
BUG:117568


 M  +1 -1      htmltokenizer.cpp  


--- branches/KDE/3.5/kdelibs/khtml/html/htmltokenizer.cpp #486160:486161
@@ -446,7 +446,7 @@
 void HTMLTokenizer::parseComment(TokenizerString &src)
 {
     // SGML strict
-    bool strict = parser->doc()->inStrictMode() && parser->doc()->htmlMode() != \
DocumentImpl::XHtml; +    bool strict = parser->doc()->inStrictMode() && \
parser->doc()->htmlMode() != DocumentImpl::XHtml && !script && !style;  int \
delimiterCount = 0;  bool canClose = false;
 


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

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