aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-02-19 20:51:06 -0800
committerzotlabs <mike@macgirvin.com>2019-02-19 20:51:06 -0800
commita77d7b844240030a764455b78b1b13fc886322f5 (patch)
treeeaf2eff7a7d5a9902f93554bfd29e2e1dbbfac37 /view/tpl
parent51e9f302b01968106f8d13e6f887a2f2f4f1aa13 (diff)
downloadvolse-hubzilla-a77d7b844240030a764455b78b1b13fc886322f5.tar.gz
volse-hubzilla-a77d7b844240030a764455b78b1b13fc886322f5.tar.bz2
volse-hubzilla-a77d7b844240030a764455b78b1b13fc886322f5.zip
urlencode links in category widget
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/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 72478aa3d..1341c652c 100755
--- 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}}?f=&cat={{$term.name}}" class="nav-link{{if $term.selected}} active{{/if}}">{{$term.name}}</a></li>
+ <li class="nav-item"><a href="{{$base}}?f=&cat={{$term.name|urlencode}}" class="nav-link{{if $term.selected}} active{{/if}}">{{$term.name}}</a></li>
{{/foreach}}
</ul>