diff options
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java b/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java index fdb0e5347..bfcc44b3c 100644 --- a/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java @@ -268,7 +268,9 @@ public class BlockLayoutManager extends BlockStackingLayoutManager innerPosition = pos.getPosition(); } - if (innerPosition != null) { + if (innerPosition != null + && (innerPosition.getLM() != this + || innerPosition instanceof MappingPosition)) { // innerPosition was created by another LM positionList.add(innerPosition); lastLM = innerPosition.getLM(); |