From 45e0bae56bfe3044dd84e834818f7e216a158389 Mon Sep 17 00:00:00 2001 From: Jarod Smith Date: Tue, 26 Jan 2016 13:12:52 -0600 Subject: [PATCH] ionic upload and package are tampering with index.html --- lib/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/upload.js b/lib/upload.js index 5dee9ec..aa77f83 100644 --- a/lib/upload.js +++ b/lib/upload.js @@ -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;