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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
};