From b5bb25ecdd5ffb2595325248fae66101f1251555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=89=E5=87=89?= Date: Thu, 18 Oct 2018 09:35:30 +0800 Subject: [PATCH] =?UTF-8?q?Hotfix:=20=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=8E=9F=E5=A7=8B=E5=9C=B0=E5=9D=80=E9=97=AE=E9=A2=98=20(#913)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 之前的写法只能处理特定的两个图片名后缀(_xl, _ms),现改成统一正则匹配处理 --- routes/zhihu/pin/hotlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/zhihu/pin/hotlist.js b/routes/zhihu/pin/hotlist.js index 236af869d..46affa3b2 100644 --- a/routes/zhihu/pin/hotlist.js +++ b/routes/zhihu/pin/hotlist.js @@ -23,7 +23,7 @@ module.exports = async (ctx) => { break; case 'image': - description += ``; + description += ``; break; case 'video':