From 7eda38f1264702786b8976492207de1a8318f51f Mon Sep 17 00:00:00 2001 From: Benno Weinzierl Date: Tue, 14 Sep 2021 18:48:40 +0200 Subject: [PATCH] [BUGFIX] Fixed incomplete change (regex change got lost) --- Classes/Service/AbstractMailerService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Service/AbstractMailerService.php b/Classes/Service/AbstractMailerService.php index 5adcb4c..2b91b1f 100644 --- a/Classes/Service/AbstractMailerService.php +++ b/Classes/Service/AbstractMailerService.php @@ -93,7 +93,7 @@ public function createStandaloneView($templatePath) { * @return string */ protected function attachHtmlInlineImages($html) { - return preg_replace_callback('#(]*[ ]?src=")([^"]+)"#', array($this, 'attachHtmlInlineImage'), $html); + return preg_replace_callback('#(]*[ ]?src=")([^"]+)("[^>]*/>)#', array($this, 'attachHtmlInlineImage'), $html); } /**