Skip to content

Commit

Permalink
Merge pull request #329 from transifex/pptx-fix-notes
Browse files Browse the repository at this point in the history
Pptx slide notes fix
  • Loading branch information
dimr authored Feb 28, 2024
2 parents 34554ee + d168757 commit ad4747b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions openformats/formats/office_open_xml/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,10 @@ def compile_paragraph(cls, paragraph, rels_soup, stringset, is_rtl=False):
continue

last_element = text_element

hyperlink_url = cls.get_hyperlink_url(text_element, rels_soup)
try:
hyperlink_url = cls.get_hyperlink_url(text_element, rels_soup)
except MissingParentError:
continue

# the text parts of the translation are less that the
# text parts of the document, so we will just remove
Expand Down

0 comments on commit ad4747b

Please sign in to comment.