Skip to content

Commit d7f1f24

Browse files
authored
Merge pull request #3 from samsauter/master
fix: Change regex to match images with _and_ without closing tag
2 parents 8a8e6a5 + c800ada commit d7f1f24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Service/AbstractMailerService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function createStandaloneView($templatePath) {
9393
* @return string
9494
*/
9595
protected function attachHtmlInlineImages($html) {
96-
return preg_replace_callback('#(<img [^>]*[ ]?src=")([^"]+)("[^>]*/>)#', array($this, 'attachHtmlInlineImage'), $html);
96+
return preg_replace_callback('#(<img [^>]*[ ]?src=")([^"]+)("[^>]*>)#', array($this, 'attachHtmlInlineImage'), $html);
9797
}
9898

9999
/**

0 commit comments

Comments
 (0)