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

List:       kde-commits
Subject:    branches/koffice/1.6/koffice/lib/kotext
From:       Thomas Zander <zander () kde ! org>
Date:       2006-07-12 18:29:30
Message-ID: 1152728970.593750.16662.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 561619 by zander:

Confirm stricter to the ODF standard by removing whitespace from the text blocks


 M  +1 -1      KoTextParag.cpp  


--- branches/koffice/1.6/koffice/lib/kotext/KoTextParag.cpp #561618:561619
@@ -2710,7 +2710,7 @@
         // Try to keep the order of the tag names by probability of happening
         if ( node.isText() )
         {
-            textData = node.toText().data();
+            textData = node.toText().data().simplifyWhiteSpace();
         }
         else if ( isTextNS && localName == "span" ) // text:span
         {
[prev in list] [next in list] [prev in thread] [next in thread] 

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