Contents of /trunk/kdelibs/patches/post-3.5.6-kdelibs.diff
Parent Directory | Revision Log
Revision 144 -
(show annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 1150 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 1150 byte(s)
-import
1 | --- khtml/html/htmltokenizer.cpp |
2 | +++ khtml/html/htmltokenizer.cpp |
3 | @@ -316,7 +316,7 @@ void HTMLTokenizer::parseSpecial(Tokeniz |
4 | while ( !src.isEmpty() ) { |
5 | checkScriptBuffer(); |
6 | unsigned char ch = src->latin1(); |
7 | - if ( !scriptCodeResync && !brokenComments && !textarea && !xmp && !title && ch == '-' && scriptCodeSize >= 3 && !src.escaped() && QConstString( scriptCode+scriptCodeSize-3, 3 ).string() == "<!-" ) { |
8 | + if ( !scriptCodeResync && !brokenComments && !textarea && !xmp && ch == '-' && scriptCodeSize >= 3 && !src.escaped() && QConstString( scriptCode+scriptCodeSize-3, 3 ).string() == "<!-" ) { |
9 | comment = true; |
10 | scriptCode[ scriptCodeSize++ ] = ch; |
11 | ++src; |
12 | @@ -495,7 +495,7 @@ void HTMLTokenizer::parseComment(Tokeniz |
13 | |
14 | if (canClose || handleBrokenComments || scriptEnd ){ |
15 | ++src; |
16 | - if ( !( script || xmp || textarea || style) ) { |
17 | + if ( !( title || script || xmp || textarea || style) ) { |
18 | #ifdef COMMENTS_IN_DOM |
19 | checkScriptBuffer(); |
20 | scriptCode[ scriptCodeSize ] = 0; |