Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use PI instead of XML comment
  • Loading branch information
Klaus Thoden committed Apr 5, 2018
1 parent d1c6db6 commit c0cf223
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fix_tei.py
Expand Up @@ -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:
Expand Down

0 comments on commit c0cf223

Please sign in to comment.