File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/CatalogWidget/view/frontend/templates/product/widget/content Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,13 +113,13 @@ use Magento\Wishlist\Helper\Data;
113
113
<div class="actions-secondary" data-role="add-to-links">
114
114
<?php if ($ this ->helper (Data::class)->isAllow () && $ showWishlist ): ?>
115
115
<a href="#"
116
- data-post='<?= /* @noEscape */ $ block ->getAddToWishlistParams ($ _item ) ?> ' class="action towishlist" data-action="add-to-wishlist" title="<?= $ block ->escapeHtmlAttr (__ ('Add to Wish List ' )) ?> ">
116
+ data-post='<?= /* @noEscape */ $ block ->getAddToWishlistParams ($ _item ) ?> ' class="action towishlist" data-action="add-to-wishlist" title="<?= $ escaper ->escapeHtmlAttr (__ ('Add to Wish List ' )) ?> ">
117
117
<span><?= $ escaper ->escapeHtml (__ ('Add to Wish List ' )) ?> </span>
118
118
</a>
119
119
<?php endif ; ?>
120
120
<?php if ($ block ->getAddToCompareUrl () && $ showCompare ): ?>
121
121
<?php $ compareHelper = $ this ->helper (Compare::class);?>
122
- <a href="#" class="action tocompare" data-post='<?= /* @noEscape */ $ compareHelper ->getPostDataParams ($ _item ) ?> ' title="<?= $ block ->escapeHtmlAttr (__ ('Add to Compare ' )) ?> ">
122
+ <a href="#" class="action tocompare" data-post='<?= /* @noEscape */ $ compareHelper ->getPostDataParams ($ _item ) ?> ' title="<?= $ escaper ->escapeHtmlAttr (__ ('Add to Compare ' )) ?> ">
123
123
<span><?= $ escaper ->escapeHtml (__ ('Add to Compare ' )) ?> </span>
124
124
</a>
125
125
<?php endif ; ?>
You can’t perform that action at this time.
0 commit comments