From 84c92e4e608f0fc5a63b1719411d971161a08d14 Mon Sep 17 00:00:00 2001 From: Ethan Date: Mon, 22 Sep 2025 17:29:30 +0800 Subject: [PATCH] fix(route): remove rich block (#20116) Co-authored-by: yifan.wang1004 --- lib/routes/techcrunch/news.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/routes/techcrunch/news.ts b/lib/routes/techcrunch/news.ts index 724c66e45..a093641cd 100644 --- a/lib/routes/techcrunch/news.ts +++ b/lib/routes/techcrunch/news.ts @@ -35,6 +35,7 @@ async function handler() { const items = data.map((item) => { const head = item.yoast_head_json; const $ = load(item.content.rendered, null, false); + $('.wp-block-techcrunch-inline-cta').remove(); return { title: item.title.rendered, description: art(path.join(__dirname, 'templates/description.art'), {