diff options
author | Mario <mario@mariovavti.com> | 2024-03-25 14:21:07 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-03-25 14:21:07 +0000 |
commit | 2ff84ab25a98d26d5e6e941fffff28b463ca3335 (patch) | |
tree | 0bd665c09243be9fd2e025375a30299bbebc18e0 | |
parent | 01c6fd03b7e82d89967b4e348b75d90310375de9 (diff) | |
parent | b139e5bb0054b97beff22bae65f145bc29874e08 (diff) | |
download | volse-hubzilla-2ff84ab25a98d26d5e6e941fffff28b463ca3335.tar.gz volse-hubzilla-2ff84ab25a98d26d5e6e941fffff28b463ca3335.tar.bz2 volse-hubzilla-2ff84ab25a98d26d5e6e941fffff28b463ca3335.zip |
Merge branch 'fix-category-widget-template' into 'dev'
Fix smarty deprecation warning in category widget.
See merge request hubzilla/core!2116
-rw-r--r-- | view/tpl/categories_widget.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/categories_widget.tpl b/view/tpl/categories_widget.tpl index fd27dca44..a7be796d6 100644 --- a/view/tpl/categories_widget.tpl +++ b/view/tpl/categories_widget.tpl @@ -5,7 +5,7 @@ <ul class="nav nav-pills flex-column"> <li class="nav-item"><a href="{{$base}}" class="nav-link{{if $sel_all}} active{{/if}}">{{$all}}</a></li> {{foreach $terms as $term}} - <li class="nav-item"><a href="{{$base}}/?cat={{$term.name|urlencode}}" class="nav-link{{if $term.selected}} active{{/if}}">{{$term.name}}</a></li> + <li class="nav-item"><a href="{{$base}}/?cat={{$term.name|escape:'url'}}" class="nav-link{{if $term.selected}} active{{/if}}">{{$term.name}}</a></li> {{/foreach}} </ul> |