Index: openacs-4/packages/xowiki/tcl/includelet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/includelet-procs.tcl,v diff -u -r1.200 -r1.200.2.1 --- openacs-4/packages/xowiki/tcl/includelet-procs.tcl 20 Jul 2015 10:07:57 -0000 1.200 +++ openacs-4/packages/xowiki/tcl/includelet-procs.tcl 26 Aug 2015 08:48:47 -0000 1.200.2.1 @@ -1366,14 +1366,14 @@ set href [$package_id package_url]tag/ ::xo::dc foreach get_tag_counts $sql { set q [list] - if {$summary} {lappend q "summary=$summary"} - if {$popular} {lappend q "popular=$popular"} + if {$summary} {lappend q "summary=[ad_urlencode_query $summary]"} + if {$popular} {lappend q "popular=[ad_urlencode_query $popular]"} set link $href$tag?[join $q &] - #lappend entries "$tag ([ns_quotehtml $nr])" lappend entries "[ns_quotehtml $tag] ([ns_quotehtml $nr])" + #lappend entries "[ns_quotehtml $tag] [ns_quotehtml $nr]" } return [expr {[llength $entries] > 0 ? - "
[join $entries {, }]\n" : + "
[join $entries {, }]\n" : ""}] }