Skip to content

Commit

Permalink
[BUGFIX] Fixed incomplete change (regex change got lost)
Browse files Browse the repository at this point in the history
  • Loading branch information
bweinzierl committed Sep 14, 2021
1 parent 9066332 commit 7eda38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/AbstractMailerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function createStandaloneView($templatePath) {
* @return string
*/
protected function attachHtmlInlineImages($html) {
return preg_replace_callback('#(<img [^>]*[ ]?src=")([^"]+)"#', array($this, 'attachHtmlInlineImage'), $html);
return preg_replace_callback('#(<img [^>]*[ ]?src=")([^"]+)("[^>]*/>)#', array($this, 'attachHtmlInlineImage'), $html);
}

/**
Expand Down

0 comments on commit 7eda38f

Please sign in to comment.