fix: remove entity decoding for item html description (#8700)

This commit is contained in:
myl7
2022-01-23 02:49:32 +08:00
committed by GitHub
parent 0030283554
commit 51a7833bd0

View File

@@ -112,7 +112,7 @@ module.exports = async (ctx, next) => {
$ele.removeAttr(e);
});
});
item.description = entities.decodeXML($('body').html() + '') + (config.suffix || '');
item.description = $('body').html() + '' + (config.suffix || '');
}
return item;
};