mirror of
https://github.com/panosoft/inline-html
synced 2026-01-13 13:04:30 -08:00
Return decoded html.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user