diff --git a/fix_tei.py b/fix_tei.py index 9e75a00..5a46262 100644 --- a/fix_tei.py +++ b/fix_tei.py @@ -226,7 +226,8 @@ def make_figure_elements(list_of_figures, figure_directory): if len(parts) == 3: logging.info("This figure contains hyperimage directions") - yenda_command = etree.Comment("Hyperimage direction: %s" % parts[2]) + yenda_command = etree.ProcessingInstruction("hyperimage", "Hyperimage direction: %s" % parts[2]) + # yenda_command = etree.Comment("Hyperimage direction: %s" % parts[2]) parent_tag.append(yenda_command) else: