aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorManuel Mall <manuel@apache.org>2006-04-27 14:37:38 +0000
committerManuel Mall <manuel@apache.org>2006-04-27 14:37:38 +0000
commit31c92194560170ea22c7537736bbdf2ad5e5aaf6 (patch)
tree90d22904409a239c97f862176c7f5be090ba1af0 /src
parent4c111a5944e775860a30f9af740dfff447c31e0b (diff)
downloadxmlgraphics-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
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java3
1 files changed, 1 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');
}
}