aboutsummaryrefslogtreecommitdiffstats
path: root/fop-core
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2021-09-28 14:28:08 +0000
committerSimon Steiner <ssteiner@apache.org>2021-09-28 14:28:08 +0000
commitde00379a8449375fddadd454ec343c92b63e66cf (patch)
treee1afb1c3d4456c16199d557b2b6ae7fd5e588abf /fop-core
parent3dd9e858377925783f41e55a200087e65631f9b9 (diff)
downloadxmlgraphics-fop-de00379a8449375fddadd454ec343c92b63e66cf.tar.gz
xmlgraphics-fop-de00379a8449375fddadd454ec343c92b63e66cf.zip
FOP-3027: Sections of text sometimes lost with span=all multiple columns
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1893708 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop-core')
-rw-r--r--fop-core/src/main/java/org/apache/fop/layoutmgr/FlowLayoutManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/fop-core/src/main/java/org/apache/fop/layoutmgr/FlowLayoutManager.java b/fop-core/src/main/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
index 1ac70da82..9a625ad73 100644
--- a/fop-core/src/main/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
+++ b/fop-core/src/main/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
@@ -138,7 +138,7 @@ public class FlowLayoutManager extends BlockStackingLayoutManager {
private List<ListElement> addChildElements(List<ListElement> elements,
LayoutManager childLM, LayoutContext context, int alignment,
Stack<LayoutManager> lmStack, Position position, LayoutManager restartAtLM) {
- if (handleSpanChange(childLM, context)) {
+ if (handleSpanChange(childLM, context) && position == null) {
SpaceResolver.resolveElementList(elements);
return elements;
}