const cheerio = require('cheerio'); function fixStyle(content) { const $ = cheerio.load(content, { decodeEntities: false }); $('body').append(``); return $.html(); } hexo.extend.filter.register('after_render:html', function (content, data) { return fixStyle(content); });