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

@@ -29,7 +29,7 @@ var inline = co.wrap(function * (html, filepath, options) {
// TODO Import less links
// get links
var $ = cheerio.load(html);
var $ = cheerio.load(html, {decodeEntities: false});
var links = $('link[rel="stylesheet/less"]')
.filter(function (index, element) {
return isLocalPath($(element).attr('href'));