Skip to content

Commit

Permalink
Merge pull request #1997 from rbayet/fix_1978_filter_special_characte…
Browse files Browse the repository at this point in the history
…rs_prevent_removal

Fixes #1978 Remove extra escaping preventing filter removal
  • Loading branch information
rbayet authored Nov 17, 2020
2 parents d9a770a + e54d1fb commit 06eb1d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function apply(\Magento\Framework\App\RequestInterface $request)
$layerState = $this->getLayer()->getState();

foreach ($this->currentFilterValue as $currentFilter) {
$filter = $this->_createItem($this->escaper->escapeHtml($currentFilter), $this->currentFilterValue);
$filter = $this->_createItem($this->tagFilter->filter($currentFilter), $this->currentFilterValue);
$layerState->addFilter($filter);
}
}
Expand Down

0 comments on commit 06eb1d5

Please sign in to comment.