Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit c0d59a8

Browse files
committed
Fix for #11796 (noEscape fix | Travis CI build #7878.6 fix )
1 parent 1a407e6 commit c0d59a8

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogWidget/view/frontend/templates/product/widget/content

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogWidget/view/frontend/templates/product/widget/content/grid.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<ol class="product-items <?= /* @noEscape */ $type ?>">
3636
<?php $iterator = 1; ?>
3737
<?php foreach ($items as $_item): ?>
38-
<?= ($iterator++ == 1) ? '<li class="product-item">' : '</li><li class="product-item">' ?>
38+
<?= /* @noEscape */ ($iterator++ == 1) ? '<li class="product-item">' : '</li><li class="product-item">' ?>
3939
<div class="product-item-info">
4040
<a href="<?= $block->escapeUrl($block->getProductUrl($_item)) ?>" class="product-item-photo">
4141
<?= $block->getImage($_item, $image)->toHtml() ?>

0 commit comments

Comments
 (0)