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

List:       kde-commits
Subject:    kdelibs/khtml/html
From:       Allan Sandfeld Jensen <kde () carewolf ! com>
Date:       2005-01-03 11:45:07
Message-ID: 20050103114507.4A5631CF99 () office ! kde ! org
[Download RAW message or body]

CVS commit by carewolf: 

Done more generally now


  M +0 -6      htmlparser.cpp   1.356


--- kdelibs/khtml/html/htmlparser.cpp  #1.355:1.356
@@ -351,10 +351,4 @@ bool KHTMLParser::insertNode(NodeImpl *n
         bool handled = false;
 
-        // never create anonymous objects just to hold a space.
-        if ( id == ID_TEXT &&
-             static_cast<TextImpl *>(n)->string()->l == 1 &&
-             static_cast<TextImpl *>(n)->string()->s[0] == ' ' )
-            return false;
-
         // switch according to the element to insert
         switch(id)


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

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