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

This commit is contained in:
myl7
2022-01-22 18:49:32 +00:00
committed by GitHub
parent 0030283554
commit 51a7833bd0
+1 -1
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;
};