diff --git a/imxml2django.py b/imxml2django.py index 017241b..828fbde 100755 --- a/imxml2django.py +++ b/imxml2django.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8; mode: python -*- -# Time-stamp: <2018-04-30 16:24:20 (kthoden)> +# Time-stamp: <2018-06-04 15:09:32 (kthoden)> import pickle import os @@ -625,6 +625,9 @@ def djangoParseObject(xmlElement, indent=False, listtype=None, listnumber=0, uid elif xmlElement.tag == "EOAtocentry": # throw them out for the time being xmlResult = etree.Element("temp") + elif xmlElement.tag == "pagebreak": + # throw them out for the time being + xmlResult = etree.Element("temp") else: xmlElement.tag = "EOAparagraph" quoted_paragraph = xmlElement.get("rend")