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

List:       quanta
Subject:    [Quanta] branches/KDE/3.5/kdewebdev/quanta
From:       Andras Mantia <amantia () kde ! org>
Date:       2006-02-13 18:32:45
Message-ID: 1139855565.764289.5283.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 509118 by amantia:

Ignore special areas inside comments. Fixes issues with IE workarounds, like:
<!--[if lt IE 7]>
  <link rel="stylesheet" href="css/schrott.css" type="text/css">
<![endif]-->

CCMAIL: quanta@kde.org


 M  +1 -0      ChangeLog  
 M  +2 -0      parsers/saparser.cpp  


--- branches/KDE/3.5/kdewebdev/quanta/ChangeLog #509117:509118
@@ -5,6 +5,7 @@
         - allow opening of read-only remote files, like from http:// [#120632]
         - fix insertion of files to the project [#120629]
         - fix detection of existing shortcuts
+        - ignore special areas inside comments
 
 Version 3.5.1 (Release date: 23-01-2006; Started 30-11-2005):
  - bugfixes:
--- branches/KDE/3.5/kdewebdev/quanta/parsers/saparser.cpp #509117:509118
@@ -669,6 +669,8 @@
   }
   m_write->addDTEP(s_dtd->name);
   s_searchForSpecialAreas = (s_dtd->specialAreas.count() > 0);
+  if (s_parentNode && s_parentNode->tag->type == Tag::Comment)
+    s_searchForSpecialAreas = false;
   s_col = s_startCol + areaStartString.length();
   s_line = s_startLine;
   s_textLine = m_write->text(s_startLine, 0, s_startLine, m_write->editIf->lineLength(s_startLine));
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread] 

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