Commit 07c921f4 authored by hyatt's avatar hyatt

Fix my <konqblock> regression on ign.com.

        * khtml/html/htmlparser.cpp:
        (KHTMLParser::insertNode):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4f7065eb
2002-11-18 David Hyatt <hyatt@apple.com>
Fix my <konqblock> regression on ign.com.
* khtml/html/htmlparser.cpp:
(KHTMLParser::insertNode):
2002-11-18 Maciej Stachowiak <mjs@apple.com>
* force-js-clean-timestamp: Rebuild for JSC changes.
......
2002-11-18 David Hyatt <hyatt@apple.com>
Fix my <konqblock> regression on ign.com.
* khtml/html/htmlparser.cpp:
(KHTMLParser::insertNode):
2002-11-18 Maciej Stachowiak <mjs@apple.com>
* force-js-clean-timestamp: Rebuild for JSC changes.
......
2002-11-18 David Hyatt <hyatt@apple.com>
Fix my <konqblock> regression on ign.com.
* khtml/html/htmlparser.cpp:
(KHTMLParser::insertNode):
2002-11-18 Maciej Stachowiak <mjs@apple.com>
* force-js-clean-timestamp: Rebuild for JSC changes.
......
......@@ -626,6 +626,8 @@ bool KHTMLParser::insertNode(NodeImpl *n, bool flat)
case ID_TEXT:
{
TextImpl *t = static_cast<TextImpl *>(n);
if (t->containsOnlyWhitespace())
return false;
DOMStringImpl *i = t->string();
unsigned int pos = 0;
while(pos < i->l && ( *(i->s+pos) == QChar(' ') ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment