diff --git a/tests/Gateway/MailerGatewayTest.php b/tests/Gateway/MailerGatewayTest.php index 94d96de..837c307 100644 --- a/tests/Gateway/MailerGatewayTest.php +++ b/tests/Gateway/MailerGatewayTest.php @@ -120,6 +120,12 @@ public static function embeddingHtmlImagesProvider(): iterable 'foobar' => '/files/contaodemo/media/content-images/DSC_5276.jpg', ], ]; + + yield 'Test ignores a base64 encoded image' => [ + '

img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red Dot">

', + [], + [], + ]; } private function createVfsCollection(): VirtualFilesystemCollection