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 committed Jun 23, 2016
1 parent 73a2796 commit bbada40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,9 @@ Upload.removeCacheBusters = function removeCacheBusters(indexPath) {
log.debug('Removing cachebusting ', indexPath);

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

try {

Expand Down

0 comments on commit bbada40

Please sign in to comment.