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 11
11
<!--deprecated template as image_with_borders is a primary one-->
12
12
<img class="photo image <?= $ escaper ->escapeHtmlAttr ($ block ->getClass ()) ?> "
13
13
<?php foreach ($ block ->getCustomAttributes () as $ name => $ value ): ?>
14
- <?= $ escaper ->escapeHtmlAttr ($ name ) ?> ="<?= $ escaper ->escapeHtmlAttr ($ value ) ?> "
14
+ <?= $ escaper ->escapeHtmlAttr ($ name ) ?> ="<?= $ escaper ->escapeHtml ($ value ) ?> "
15
15
<?php endforeach ; ?>
16
16
src="<?= $ escaper ->escapeUrl ($ block ->getImageUrl ()) ?> "
17
17
loading="lazy"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ $paddingBottom = $block->getRatio() * 100;
15
15
<span class="product-image-wrapper">
16
16
<img class="<?= $ escaper ->escapeHtmlAttr ($ block ->getClass ()) ?> "
17
17
<?php foreach ($ block ->getCustomAttributes () as $ name => $ value ): ?>
18
- <?= $ escaper ->escapeHtmlAttr ($ name ) ?> ="<?= $ escaper ->escapeHtmlAttr ($ value ) ?> "
18
+ <?= $ escaper ->escapeHtmlAttr ($ name ) ?> ="<?= $ escaper ->escapeHtml ($ value ) ?> "
19
19
<?php endforeach ; ?>
20
20
src="<?= $ escaper ->escapeUrl ($ block ->getImageUrl ()) ?> "
21
21
loading="lazy"
You can’t perform that action at this time.
0 commit comments