Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
ionic upload and package are tampering with index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarod Smith authored and Jarod Smith committed Jan 26, 2016
1 parent 90b511d commit 45e0bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Upload.removeCacheBusters = function removeCacheBusters(indexPath) {
logging.logger.debug('Removing cachebusting ', indexPath);

var indexHtml = fs.readFileSync(indexPath, 'utf8');
var $ = cheerio.load(indexHtml);
var $ = cheerio.load(indexHtml, { decodeEntities: false });
var index,
urlObj;

Expand Down

0 comments on commit 45e0bae

Please sign in to comment.