Skip to content

Commit 12064ad

Browse files
authored
Merge pull request #8 from simonrl/issue-5
fix missing space between attributes
2 parents b2257a9 + 5029a50 commit 12064ad

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
@@ -78,7 +78,7 @@ public function afterToHtml(\Magento\Framework\View\Element\AbstractBlock $block
7878
$html = str_replace($pixelSrc, $tmpSrc, $html);
7979

8080
$html = preg_replace('#<img\s+([^>]*)(?:src="([^"]*)")([^>]*)\/?>#isU', '<img ' . $pixelSrc .
81-
'data-original="$2" $1 $3/>', $html);
81+
' data-original="$2" $1 $3/>', $html);
8282

8383
$html = str_replace($tmpSrc, $pixelSrc, $html);
8484
$html = str_replace(self::LAZY_TAG, '', $html);

0 commit comments

Comments
 (0)