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

Commit

Permalink
Merge pull request #60 from jarodms6/master
Browse files Browse the repository at this point in the history
ionic upload and package are tampering with index.html
  • Loading branch information
tlancina authored Jun 23, 2016
2 parents d4b083c + 45e0bae commit a31a648
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 @@ -371,7 +371,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 a31a648

Please sign in to comment.