File tree 2 files changed +12
-12
lines changed
app/code/Magento/Catalog/view/frontend/templates/product 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 10
10
?>
11
11
12
12
<img class="photo image <?= $ escaper ->escapeHtmlAttr ($ block ->getClass ()) ?> "
13
- <?= $ escaper ->escapeHtml ($ block ->getCustomAttributes ()) ?>
14
- src="<?= $ escaper ->escapeUrl ($ block ->getImageUrl ()) ?> "
15
- loading="lazy"
16
- width="<?= $ escaper ->escapeHtmlAttr ($ block ->getWidth ()) ?> "
17
- height="<?= $ escaper ->escapeHtmlAttr ($ block ->getHeight ()) ?> "
18
- alt="<?= /* @noEscape */ $ block -> stripTags ($ block ->getLabel (), null , true ) ?> " />
13
+ <?= $ escaper ->escapeHtml ($ block ->getCustomAttributes ()) ?>
14
+ src="<?= $ escaper ->escapeUrl ($ block ->getImageUrl ()) ?> "
15
+ loading="lazy"
16
+ width="<?= $ escaper ->escapeHtmlAttr ($ block ->getWidth ()) ?> "
17
+ height="<?= $ escaper ->escapeHtmlAttr ($ block ->getHeight ()) ?> "
18
+ alt="<?= $ escaper -> escapeHtmlAttr ($ block ->getLabel ()) ?> " />
Original file line number Diff line number Diff line change 14
14
<span class="product-image-wrapper"
15
15
style="padding-bottom: <?= ($ block ->getRatio () * 100 ) ?> %;">
16
16
<img class="<?= $ escaper ->escapeHtmlAttr ($ block ->getClass ()) ?> "
17
- <?= $ escaper ->escapeHtmlAttr ($ block ->getCustomAttributes ()) ?>
18
- src="<?= $ escaper ->escapeUrl ($ block ->getImageUrl ()) ?> "
19
- loading="lazy"
20
- width="<?= $ escaper ->escapeHtmlAttr ($ block ->getWidth ()) ?> "
21
- height="<?= $ escaper ->escapeHtmlAttr ($ block ->getHeight ()) ?> "
22
- alt="<?= /* @noEscape */ $ block -> stripTags ($ block ->getLabel (), null , true ) ?> "/></span>
17
+ <?= $ escaper ->escapeHtmlAttr ($ block ->getCustomAttributes ()) ?>
18
+ src="<?= $ escaper ->escapeUrl ($ block ->getImageUrl ()) ?> "
19
+ loading="lazy"
20
+ width="<?= $ escaper ->escapeHtmlAttr ($ block ->getWidth ()) ?> "
21
+ height="<?= $ escaper ->escapeHtmlAttr ($ block ->getHeight ()) ?> "
22
+ alt="<?= $ escaper -> escapeHtmlAttr ($ block ->getLabel ()) ?> "/></span>
23
23
</span>
You can’t perform that action at this time.
0 commit comments