diff --git a/index.js b/index.js index a9267c4..1367cac 100644 --- a/index.js +++ b/index.js @@ -30,6 +30,7 @@ if (options.enable !== false) { if (!options.inject && data['no-emoji']) { return data } const $ = cheerio.load(data.content, {decodeEntities: false}) + const excerpt = cheerio.load(data.excerpt,{decodeEntities: false}) if (options.inject) { $('body').append(`