aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2011-01-09 14:40:31 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2011-01-09 14:40:31 +0000
commit092af3cf902f54c565b2e1780992c2ef09683d88 (patch)
treef251865134732a265415ac54e81e879e17f49470 /src/java/org/apache/fop
parentaaf2ae529ec3f02e0062fd0f26ef8c98e4a634d0 (diff)
downloadxmlgraphics-fop-092af3cf902f54c565b2e1780992c2ef09683d88.tar.gz
xmlgraphics-fop-092af3cf902f54c565b2e1780992c2ef09683d88.zip
Bugzilla 49848: Correct behavior of keep-together.within-line in case of nested inlines
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056945 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java
index 3f5ed329a..81240dec0 100644
--- a/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java
@@ -705,7 +705,7 @@ public class TextLayoutManager extends LeafNodeLayoutManager {
if (inWord) {
processWord(alignment, sequence, prevAreaInfo, ch, false, false);
} else if (inWhitespace) {
- processWhitespace(alignment, sequence, true);
+ processWhitespace(alignment, sequence, !keepTogether);
} else if (areaInfo != null) {
processLeftoverAreaInfo(alignment, sequence, areaInfo,
ch == CharUtilities.ZERO_WIDTH_SPACE);