Chore: Raise Gotenberg container version (#4815)

* Updates the Gotenberg version to use 7.10 and gotenberg-client to match
* Fixes a long standing bug in this test where a whole page was missing from the expected
This commit is contained in:
Trenton H
2023-12-05 07:36:25 -08:00
committed by GitHub
parent 59e062f154
commit f100cb8c83
7 changed files with 28 additions and 24 deletions

View File

@@ -215,6 +215,8 @@ class MailDocumentParser(DocumentParser):
mail_message.attachments,
)
self.log.debug("Merging email text and HTML content into single PDF")
with GotenbergClient(
host=settings.TIKA_GOTENBERG_ENDPOINT,
timeout=settings.CELERY_TASK_TIME_LIMIT,
@@ -348,7 +350,7 @@ class MailDocumentParser(DocumentParser):
text = compiled_close.sub("</div", text)
return text
self.log.info("Converting html to PDF")
self.log.info("Converting message html to PDF")
tempdir = Path(self.tempdir)