]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Minor correction to whitespace handling to ensure non space whitespace is always...
authorManuel Mall <manuel@apache.org>
Thu, 27 Apr 2006 14:37:38 +0000 (14:37 +0000)
committerManuel Mall <manuel@apache.org>
Thu, 27 Apr 2006 14:37:38 +0000 (14:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397556 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java
status.xml

index bef6659aacdf4ff9da0dcfbd61e9e86e9deb5a52..ddfd023fecc48977a962d7d67abb042d6277631c 100644 (file)
@@ -213,8 +213,7 @@ public class XMLWhiteSpaceHandler {
                         } else {
                             // this is to retain a single space between words
                             inWhiteSpace = true;
-                            if (currentChar != '\u0020' 
-                                    && whiteSpaceTreatment == Constants.EN_PRESERVE) {
+                            if (currentChar != '\u0020') {
                                 charIter.replaceChar('\u0020');
                             }
                         }
index 1b1a00c275653b6f8b60a5044e4d12322788e8d0..dd7d23a419699c6b48fca91d4d0cb1a8251ae30a 100644 (file)
@@ -27,6 +27,9 @@
 
   <changes>
     <release version="FOP Trunk">
+      <action context="Code" dev="MM" type="fix">
+        Bugfix: TABs were not correctly replaced by spaces in some circumstances.
+      </action>
       <action context="Code" dev="JM" type="update">
         Content in block-containers makes better use of shrink to fit content vertically
         into the available area. This can be used indirectly to justify content vertically