docx-merger icon indicating copy to clipboard operation
docx-merger copied to clipboard

jpg default extension is dropped from [Content_Types].xml

Open tdittmar opened this issue 2 years ago • 0 comments

Because of the fact that default content types are stored in a map by mime-type in merge-relations-and-content-types.js/mergeContentTypes, the default "jpg" extension is dropped, since the same mime type is used for both "jpeg" and "jpg".

For this reason, images with the .jpg extension will cause an error when opening the document in Word.

tdittmar avatar Feb 10 '23 11:02 tdittmar