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); } /**