1
0
Fork 0

Support special characters in category widget links

This commit is contained in:
Hypolite Petovan 2023-05-20 10:10:14 -04:00
parent 28185c12fc
commit c10a1f3568

View file

@ -178,6 +178,10 @@ class Widget
$baseUrl = trim($baseUrl, '?') . '?';
}
array_walk($options, function (&$value) {
$value['ref'] = rawurlencode($value['ref']);
});
return Renderer::replaceMacros(Renderer::getMarkupTemplate('widget/filter.tpl'), [
'$type' => $type,
'$title' => $title,