File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Catalog/view/frontend/templates/product Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 7
7
<?php /** @var $block \Magento\Catalog\Block\Product\Image */ ?>
8
8
9
9
<img class="photo image <?= $ block ->escapeHtmlAttr ($ block ->getClass ()) ?> "
10
- <?= /* @noEscape */ $ block ->getCustomAttributes () ?>
10
+ <?= /* @escapeNotVerified */ $ block ->getCustomAttributes () ?>
11
11
src="<?= $ block ->escapeUrl ($ block ->getImageUrl ()) ?> "
12
12
width="<?= $ block ->escapeHtmlAttr ($ block ->getWidth ()) ?> "
13
13
height="<?= $ block ->escapeHtmlAttr ($ block ->getHeight ()) ?> "
Original file line number Diff line number Diff line change 11
11
<span class="product-image-wrapper"
12
12
style="padding-bottom: <?= ($ block ->getRatio () * 100 ) ?> %;">
13
13
<img class="<?= $ block ->escapeHtmlAttr ($ block ->getClass ()) ?> "
14
- <?= /* @noEscape */ $ block ->getCustomAttributes () ?>
14
+ <?= /* @escapeNotVerified */ $ block ->getCustomAttributes () ?>
15
15
src="<?= $ block ->escapeUrl ($ block ->getImageUrl ()) ?> "
16
16
max-width="<?= $ block ->escapeHtmlAttr ($ block ->getWidth ()) ?> "
17
17
max-height="<?= $ block ->escapeHtmlAttr ($ block ->getHeight ()) ?> "
You can’t perform that action at this time.
0 commit comments