From 50bc28d2e64d195be2ecf4f810beda7296c5f958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=82=B3=E5=A5=BD?= Date: Sat, 18 Nov 2023 13:55:31 +0000 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8DQQ=E9=A2=91=E9=81=93=E6=9C=BA?= =?UTF-8?q?=E5=99=A8=E4=BA=BA/=E6=8C=87=E4=BB=A4=20![=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=AF=B4=E6=98=8E](https://foruda.gitee.com/?= =?UTF-8?q?images/1700315712258375101/f63963c9=5F7403553.png=20"=E5=B1=8F?= =?UTF-8?q?=E5=B9=95=E6=88=AA=E5=9B=BE")?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈炳好 --- lib/plugins/loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/loader.js b/lib/plugins/loader.js index 67c953d..9f9837b 100644 --- a/lib/plugins/loader.js +++ b/lib/plugins/loader.js @@ -392,7 +392,7 @@ class PluginsLoader { for (let val of e.message) { switch (val.type) { case 'text': - e.msg = (e.msg || '') + (val.text || '').replace(/^\s*[#井#]+\s*/, '#').replace(/^\s*[\\*※*]+\s*/, '*').trim() + e.msg = (e.msg || '') + (val.text || '').replace(/^\s*[#井#\/]+\s*/, '#').replace(/^\s*[\\*※*]+\s*/, '*').trim() break case 'image': if (!e.img) {