23 lines
1.2 KiB
Diff
23 lines
1.2 KiB
Diff
Index: khtml/html/htmltokenizer.cpp
|
|
===================================================================
|
|
--- khtml/html/htmltokenizer.cpp (Revision 626790)
|
|
+++ khtml/html/htmltokenizer.cpp (Revision 626791)
|
|
@@ -316,7 +316,7 @@
|
|
while ( !src.isEmpty() ) {
|
|
checkScriptBuffer();
|
|
unsigned char ch = src->latin1();
|
|
- if ( !scriptCodeResync && !brokenComments && !textarea && !xmp && !title && ch == '-' && scriptCodeSize >= 3 && !src.escaped() && QConstString( scriptCode+scriptCodeSize-3, 3 ).string() == "<!-" ) {
|
|
+ if ( !scriptCodeResync && !brokenComments && !textarea && !xmp && ch == '-' && scriptCodeSize >= 3 && !src.escaped() && QConstString( scriptCode+scriptCodeSize-3, 3 ).string() == "<!-" ) {
|
|
comment = true;
|
|
scriptCode[ scriptCodeSize++ ] = ch;
|
|
++src;
|
|
@@ -495,7 +495,7 @@
|
|
|
|
if (canClose || handleBrokenComments || scriptEnd ){
|
|
++src;
|
|
- if ( !( script || xmp || textarea || style) ) {
|
|
+ if ( !( title || script || xmp || textarea || style) ) {
|
|
#ifdef COMMENTS_IN_DOM
|
|
checkScriptBuffer();
|
|
scriptCode[ scriptCodeSize ] = 0;
|