From quanta Mon Feb 13 18:32:45 2006 From: Andras Mantia Date: Mon, 13 Feb 2006 18:32:45 +0000 To: quanta Subject: [Quanta] branches/KDE/3.5/kdewebdev/quanta Message-Id: <1139855565.764289.5283.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=quanta&m=113985573412197 SVN commit 509118 by amantia: Ignore special areas inside comments. Fixes issues with IE workarounds, like: 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