Support special characters in category widget links
This commit is contained in:
parent
28185c12fc
commit
c10a1f3568
1 changed files with 4 additions and 0 deletions
|
@ -178,6 +178,10 @@ class Widget
|
||||||
$baseUrl = trim($baseUrl, '?') . '?';
|
$baseUrl = trim($baseUrl, '?') . '?';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
array_walk($options, function (&$value) {
|
||||||
|
$value['ref'] = rawurlencode($value['ref']);
|
||||||
|
});
|
||||||
|
|
||||||
return Renderer::replaceMacros(Renderer::getMarkupTemplate('widget/filter.tpl'), [
|
return Renderer::replaceMacros(Renderer::getMarkupTemplate('widget/filter.tpl'), [
|
||||||
'$type' => $type,
|
'$type' => $type,
|
||||||
'$title' => $title,
|
'$title' => $title,
|
||||||
|
|
Loading…
Reference in a new issue