From 1d7b470fa97619c33c436611bc893c7b538a15ad Mon Sep 17 00:00:00 2001 From: cnk Date: Tue, 14 Jan 2025 23:25:17 +0800 Subject: [PATCH] fix(routes/hrbust/jwzx): fix img was accidently removed (#18122) --- lib/routes/hrbust/jwzx.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/routes/hrbust/jwzx.ts b/lib/routes/hrbust/jwzx.ts index 971f88e5be..233a2c7beb 100644 --- a/lib/routes/hrbust/jwzx.ts +++ b/lib/routes/hrbust/jwzx.ts @@ -76,7 +76,6 @@ async function handler(ctx) { const body = $('div.body'); body.find('[style]').removeAttr('style'); body.find('font').contents().unwrap(); - body.find(':empty').remove(); body.html(body.html()?.replaceAll(' ', '')); body.find('[align]').removeAttr('align'); item.description = body.html();