From 54a6df07869d786e547525c5e6ef295e5959be92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=99=8E=E6=95=85=E6=B4=9E?= <55782476+TigerCubDen@users.noreply.github.com> Date: Wed, 17 Feb 2021 19:55:09 +0800 Subject: [PATCH] Update changelog.js --- lib/routes/changelog.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/routes/changelog.js b/lib/routes/changelog.js index 1556d0d64b..632fc719d2 100644 --- a/lib/routes/changelog.js +++ b/lib/routes/changelog.js @@ -14,9 +14,7 @@ module.exports = async (ctx) => { // 使用 cheerio 加载返回的 HTML const data = response.data; - const $ = cheerio.load(data, { - xmlMode: true - }); + const $ = cheerio.load(data); const list = $('.version');