Skip to content
Snippets Groups Projects
Commit c0d59a8e authored by punit-vaswani's avatar punit-vaswani
Browse files

Fix for #11796 (noEscape fix | Travis CI build #7878.6 fix )

parent 1a407e62
No related merge requests found
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<ol class="product-items <?= /* @noEscape */ $type ?>"> <ol class="product-items <?= /* @noEscape */ $type ?>">
<?php $iterator = 1; ?> <?php $iterator = 1; ?>
<?php foreach ($items as $_item): ?> <?php foreach ($items as $_item): ?>
<?= ($iterator++ == 1) ? '<li class="product-item">' : '</li><li class="product-item">' ?> <?= /* @noEscape */ ($iterator++ == 1) ? '<li class="product-item">' : '</li><li class="product-item">' ?>
<div class="product-item-info"> <div class="product-item-info">
<a href="<?= $block->escapeUrl($block->getProductUrl($_item)) ?>" class="product-item-photo"> <a href="<?= $block->escapeUrl($block->getProductUrl($_item)) ?>" class="product-item-photo">
<?= $block->getImage($_item, $image)->toHtml() ?> <?= $block->getImage($_item, $image)->toHtml() ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment