mirror of
https://github.com/KevinMidboe/inline-html.git
synced 2025-10-29 17:40:29 +00:00
Return decoded html.
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user