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>')