diff --git a/src/main/java/w2phtml/xhtml/content/Separator.java b/src/main/java/w2phtml/xhtml/content/Separator.java index 02b7086..e327d02 100644 --- a/src/main/java/w2phtml/xhtml/content/Separator.java +++ b/src/main/java/w2phtml/xhtml/content/Separator.java @@ -160,7 +160,7 @@ public class Separator { } private boolean noSplitNeeded(int pageNum, int curLevel) { - return !greenstoneSeparation && !rdfSeparation && splitLevel == 0 && !isSplitTime(curLevel,pageNum); + return !greenstoneSeparation && !pagination && !isSplitTime(curLevel,pageNum); } private void addToCommentStack(String sLevel) {