Skip to content

Commit ae0533f

Browse files
Update BlockPlugin.php
1 parent c505d22 commit ae0533f

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

0 commit comments

Comments
 (0)