Skip to content

Commit

Permalink
Merge pull request gitbrent#435 from antonandreyev/BugFix-jpg-content…
Browse files Browse the repository at this point in the history
…-type-missing

BugFix: missing jpg content type breaks corrupts presentation for Office365
  • Loading branch information
gitbrent authored Dec 12, 2018
2 parents 0c79b52 + ddae587 commit 7fd57f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dist/pptxgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -4157,6 +4157,7 @@ var PptxGenJS = function(){
strXml += ' <Default Extension="xml" ContentType="application/xml"/>';
strXml += ' <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>';
strXml += ' <Default Extension="jpeg" ContentType="image/jpeg"/>';
strXml += ' <Default Extension="jpg" ContentType="image/jpg"/>';

// STEP 1: Add standard/any media types used in Presenation
strXml += ' <Default Extension="png" ContentType="image/png"/>';
Expand Down

0 comments on commit 7fd57f7

Please sign in to comment.