Fix #316 - "Empty" <ol> causing an error if it contains a non-element node
As stated in tools/pagedjs#316, the current condition checks for nodes of any type, while it should check for element nodes only.
It might also fix tools/pagedjs#272.
As stated in tools/pagedjs#316, the current condition checks for nodes of any type, while it should check for element nodes only.
It might also fix tools/pagedjs#272.