Return decoded html.

This commit is contained in:
Alexandre Gigliotti
2015-07-23 16:58:12 -07:00
parent d41b7b1616
commit dd4f03257c
4 changed files with 5 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ var unwrap = function (value) {
return value.replace(regexp, '$1');
};
var inline = function (html, filePath) {
var $ = cheerio.load(html);
var $ = cheerio.load(html, {decodeEntities: false});
// style elements
var styles = $('style');