Skip to content

Commit 98d4c21

Browse files
Update BlockPlugin.php
1 parent 4a087b7 commit 98d4c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin/BlockPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function afterToHtml(\Magento\Framework\View\Element\AbstractBlock $block
7777

7878
$html = str_replace($pixelSrc, $tmpSrc, $html);
7979

80-
$html = preg_replace('#<img(?!\s+mfdislazy).*([^>]*)(?:\ssrc="([^"]*)")([^>]*)\/?>#isU', '<img ' .
80+
$html = preg_replace('#<img(?!\s+mfdislazy)([^>]*)(?:\ssrc="([^"]*)")([^>]*)\/?>#isU', '<img ' .
8181
' data-original="$2" $1 $3/>
8282
<noscript>
8383
<img src="$2" $1 $3 />

0 commit comments

Comments
 (0)