Skip to content

Commit

Permalink
Added jpg content type (Issue #435)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbrent committed Dec 12, 2018
1 parent 1b1a967 commit 374926a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [2.5.0] - 2018-12-??
### Added
- Added new chart options: `catAxisLabelFontBold`,`dataLabelFontBold`,`legendFontFace`,`valAxisLabelFontBold` [\#426](https://github.com/gitbrent/PptxGenJS/issue/426) ([BandaSatish07](https://github.com/BandaSatish07))
- Add missing jpg content type to fix corrupt presentation for Office365 [\#435](https://github.com/gitbrent/PptxGenJS/pull/435) ([antonandreyev](https://github.com/antonandreyev))
### Changed
- Remove legacy/deprecated attributes from README javascript script tags [\#431](https://github.com/gitbrent/PptxGenJS/pull/431) ([efx](https://github.com/efx))
- Fixed issue with SlideNumber `fontSize` float values [\#432](https://github.com/gitbrent/PptxGenJS/issue/432) ([efx](https://github.com/efx))
Expand Down
4 changes: 2 additions & 2 deletions dist/pptxgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if ( NODEJS ) {
var PptxGenJS = function(){
// APP
var APP_VER = "2.5.0-beta";
var APP_BLD = "20181115";
var APP_BLD = "20181211";

// CONSTANTS
var MASTER_OBJECTS = {
Expand Down Expand Up @@ -4157,7 +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"/>';
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 374926a

Please sign in to comment.