From bd78a29db280f27c6f85be8d0f019855a8574e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Thu, 12 Dec 2019 12:10:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=A4=84=E6=AD=A3?= =?UTF-8?q?=E5=88=99=E7=AC=94=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/neditor/index.wc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neditor/index.wc b/src/neditor/index.wc index bce21d8..2ab638a 100644 --- a/src/neditor/index.wc +++ b/src/neditor/index.wc @@ -500,7 +500,7 @@ export default class Neditor { '' ) .replace( - /]*? href\s?=\s?["']?([^"']*)["']?[^>]*?>/g, + /]*? src\s?=\s?["']?([^"']*)["']?[^>]*?>/g, '' ) .replace(/<(?!a|img)([\w\-]+)[^>]*>/g, '<$1>')