File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/LayeredNavigation/view/frontend/templates/layer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 20
20
<li class="item">
21
21
<?php if ($ filterItem ->getCount () > 0 ): ?>
22
22
<a href="<?= $ block ->escapeUrl ($ filterItem ->getUrl ()) ?> ">
23
- <?= $ block -> escapeHtml ( $ filterItem ->getLabel () ) ?>
23
+ <?= /* @noEscape */ $ filterItem ->getLabel () ?>
24
24
<?php if ($ this ->helper ('\Magento\Catalog\Helper\Data ' )->shouldDisplayProductCountOnLayer ()): ?>
25
25
<span class="count"><?= /* @noEscape */ (int )$ filterItem ->getCount () ?> <span class="filter-count-label">
26
26
<?php if ($ filterItem ->getCount () == 1 ):?> <?= $ block ->escapeHtml (__ ('item ' )) ?> <?php else :?> <?= $ block ->escapeHtml (__ ('item ' )) ?> <?php endif ;?> </span></span>
27
27
<?php endif ; ?>
28
28
</a>
29
29
<?php else :?>
30
- <?= $ block -> escapeHtml ( $ filterItem ->getLabel () ) ?>
30
+ <?= /* @noEscape */ $ filterItem ->getLabel () ?>
31
31
<?php if ($ this ->helper ('\Magento\Catalog\Helper\Data ' )->shouldDisplayProductCountOnLayer ()): ?>
32
32
<span class="count"><?= /* @noEscape */ (int )$ filterItem ->getCount () ?> <span class="filter-count-label">
33
33
<?php if ($ filterItem ->getCount () == 1 ):?> <?= $ block ->escapeHtml (__ ('items ' )) ?> <?php else :?> <?= $ block ->escapeHtml (__ ('items ' )) ?> <?php endif ;?> </span></span>
You can’t perform that action at this time.
0 commit comments