diff --git a/src/main/java/writer2latex/xhtml/PageSplitter.java b/src/main/java/writer2latex/xhtml/PageSplitter.java index 854be2b..37fdd6c 100644 --- a/src/main/java/writer2latex/xhtml/PageSplitter.java +++ b/src/main/java/writer2latex/xhtml/PageSplitter.java @@ -28,7 +28,7 @@ public class PageSplitter { //System.out.println("splitSoftPageBreak "); //Necessary check if node is an Element - if ((child.getNodeType() == Node.ELEMENT_NODE) && containsSPB(child)){ + if (containsSPB(child)){ String nodeName = child.getNodeName(); //Create Duplicate Node! Element childFirstPart = (Element) child.cloneNode(false);