|
20 | 20 | role="heading"
|
21 | 21 | aria-level="2"
|
22 | 22 | data-role="title"
|
23 |
| - data-count="<?= count($_filters) ?>"><?= /* @escapeNotVerified */ __('Now Shopping by') ?></strong> |
| 23 | + data-count="<?= /* @noEscape */ count($_filters) ?>"><?= $block->escapeHtml(__('Now Shopping by')) ?></strong> |
24 | 24 | <ol class="items">
|
25 | 25 | <?php foreach ($_filters as $_filter): ?>
|
26 | 26 | <li class="item">
|
27 | 27 | <span class="filter-label"><?= $block->escapeHtml(__($_filter->getName())) ?></span>
|
28 |
| - <span class="filter-value"><?= /* @escapeNotVerified */ $block->stripTags($_filter->getLabel()) ?></span> |
| 28 | + <span class="filter-value"><?= $block->escapeHtml($block->stripTags($_filter->getLabel())) ?></span> |
29 | 29 | <?php
|
30 | 30 | $clearLinkUrl = $_filter->getClearLinkUrl();
|
31 |
| - $currentFilterName = $block->escapeHtml(__($_filter->getName())) . " " . $block->stripTags($_filter->getLabel()); |
| 31 | + $currentFilterName = $block->escapeHtmlAttr(__($_filter->getName()) . " " . $block->stripTags($_filter->getLabel())); |
32 | 32 | if ($clearLinkUrl):
|
33 | 33 | ?>
|
34 |
| - <a class="action previous" href="<?= /* @escapeNotVerified */ $_filter->getRemoveUrl() ?>" |
35 |
| - title="<?= /* @escapeNotVerified */ __('Previous') ?>"> |
36 |
| - <span><?= /* @escapeNotVerified */ __('Previous') ?></span> |
| 34 | + <a class="action previous" href="<?= $block->escapeUrl($_filter->getRemoveUrl()) ?>" |
| 35 | + title="<?= $block->escapeHtmlAttr(__('Previous')) ?>"> |
| 36 | + <span><?= $block->escapeHtml(__('Previous')) ?></span> |
37 | 37 | </a>
|
38 | 38 | <a class="action remove"
|
39 |
| - title="<?= $block->escapeHtml($_filter->getFilter()->getClearLinkText()) ?>" |
40 |
| - href="<?= /* @escapeNotVerified */ $clearLinkUrl ?>"> |
| 39 | + title="<?= $block->escapeHtmlAttr($_filter->getFilter()->getClearLinkText()) ?>" |
| 40 | + href="<?= $block->escapeUrl($clearLinkUrl) ?>"> |
41 | 41 | <span><?= $block->escapeHtml($_filter->getFilter()->getClearLinkText()) ?></span>
|
42 | 42 | </a>
|
43 | 43 | <?php else: ?>
|
44 |
| - <a class="action remove" href="<?= /* @escapeNotVerified */ $_filter->getRemoveUrl() ?>" |
45 |
| - title="<?= /* @escapeNotVerified */ $block->escapeHtml(__('Remove')) . " " . $currentFilterName ?>"> |
46 |
| - <span><?= /* @escapeNotVerified */ __('Remove This Item') ?></span> |
| 44 | + <a class="action remove" href="<?= $block->escapeUrl($_filter->getRemoveUrl()) ?>" |
| 45 | + title="<?= /* @noEscape */ $block->escapeHtmlAttr(__('Remove')) . " " . $currentFilterName ?>"> |
| 46 | + <span><?= $block->escapeHtml(__('Remove This Item')) ?></span> |
47 | 47 | </a>
|
48 | 48 | <?php endif; ?>
|
49 | 49 | </li>
|
|
0 commit comments