Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Page reference not fully implemented yet
see #52
  • Loading branch information
kthoden committed May 27, 2020
1 parent 6211f87 commit c70d714
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/imxml2django.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8; mode: python -*-
# Time-stamp: <2020-05-25 09:25:29 (kthoden)>
# Time-stamp: <2020-05-27 13:05:20 (kthoden)>

"""
Create an XML file that can be inserted into the Django database
Expand Down Expand Up @@ -1755,6 +1755,8 @@ def bring_footnote_down_django(footnote, fragment, footnote_number, object_numbe
if xmlReferenceLabelText in dictPagelabels:
logging.debug("Found link to page: %s" % xmlReferenceLabelText)
strResult = dictPagelabels[xmlReferenceLabelText]
else:
logging.warning("Page reference not fully implemented yet, see https://github.molgen.mpg.de/EditionOpenAccess/EOASkripts/issues/52")
xmlReference.text = strResult
for xmlChild in xmlReference.iterchildren():
xmlReference.remove(xmlChild)
Expand Down

0 comments on commit c70d714

Please sign in to comment.