diff options
author | Manuel Mall <manuel@apache.org> | 2006-04-27 14:37:38 +0000 |
---|---|---|
committer | Manuel Mall <manuel@apache.org> | 2006-04-27 14:37:38 +0000 |
commit | 31c92194560170ea22c7537736bbdf2ad5e5aaf6 (patch) | |
tree | 90d22904409a239c97f862176c7f5be090ba1af0 | |
parent | 4c111a5944e775860a30f9af740dfff447c31e0b (diff) | |
download | xmlgraphics-fop-31c92194560170ea22c7537736bbdf2ad5e5aaf6.tar.gz xmlgraphics-fop-31c92194560170ea22c7537736bbdf2ad5e5aaf6.zip |
Minor correction to whitespace handling to ensure non space whitespace is always converted to a space
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397556 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java | 3 | ||||
-rw-r--r-- | status.xml | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java b/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java index bef6659aa..ddfd023fe 100644 --- a/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java +++ b/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java @@ -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'); } } diff --git a/status.xml b/status.xml index 1b1a00c27..dd7d23a41 100644 --- a/status.xml +++ b/status.xml @@ -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 |