diff --git a/src/main/java/w2phtml/pageSplitters/ListSplitter.java b/src/main/java/w2phtml/pageSplitters/ListSplitter.java
index 20fe791..e4413b2 100644
--- a/src/main/java/w2phtml/pageSplitters/ListSplitter.java
+++ b/src/main/java/w2phtml/pageSplitters/ListSplitter.java
@@ -60,9 +60,14 @@ public class ListSplitter extends BasicSplitter implements ISplitter {
} else {
list.removeChild(child);
}
+ } else {
+ //Debug.printNode(child);
+ //Found SPB at start of the list
+ //Add SPB before the list
+ if (isRootElement(list)) {
+ parent.insertBefore(softPageBreak, list);
+ }
}
- // Debug.printNode(child);
-
break;
} else {
// Not with SPB yet, move node, set dataMoved=true