additional check
This commit is contained in:
parent
cd54f9a93d
commit
62258abbf2
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,9 @@ public class GreenstoneTags {
|
|||
}
|
||||
|
||||
private static Node openPageDiv(Node hnode,int pageNum){
|
||||
if (hnode == null){
|
||||
return hnode;
|
||||
}
|
||||
Document doc = hnode.getOwnerDocument();
|
||||
Element openBlock = (Element) doc.createElement("div");
|
||||
openBlock.setAttribute("class", "pageNum");
|
||||
|
|
Loading…
Add table
Reference in a new issue