diff --git a/dangerzone/conversion/doc_to_pixels.py b/dangerzone/conversion/doc_to_pixels.py index a7a7776..3a07377 100644 --- a/dangerzone/conversion/doc_to_pixels.py +++ b/dangerzone/conversion/doc_to_pixels.py @@ -129,7 +129,9 @@ class DocumentToPixels(DangerzoneConverter): # At least .odt, .docx, .odg, .odp, .ods, and .pptx "application/zip": { "type": "libreoffice", - # NOTE: Older `file` command cannot detect hwpx files properly. + # NOTE: `file` command < 5.45 cannot detect hwpx files properly, so we + # enable the extension in any case. See also: + # https://github.com/freedomofpress/dangerzone/pull/460#issuecomment-1654166465 "libreoffice_ext": "h2orestart.oxt", }, # At least .doc, .docx, .odg, .odp, .odt, .pdf, .ppt, .pptx, .xls, and .xlsx