aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-03-25 12:26:06 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-03-25 12:26:06 +0100
commitb139e5bb0054b97beff22bae65f145bc29874e08 (patch)
tree5462f43d24abcc0af207dc40276109f6c9cc1fec /view
parent3c0d6339bb12bd7fbf65ba7a79078e39737b4387 (diff)
downloadvolse-hubzilla-b139e5bb0054b97beff22bae65f145bc29874e08.tar.gz
volse-hubzilla-b139e5bb0054b97beff22bae65f145bc29874e08.tar.bz2
volse-hubzilla-b139e5bb0054b97beff22bae65f145bc29874e08.zip
Fix smarty deprecation warning in category widget.
Diffstat (limited to 'view')
-rw-r--r--view/tpl/categories_widget.tpl2
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>