Index: openacs-4/packages/acs-tcl/tcl/navigation-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/navigation-procs.tcl,v
diff -u -r1.31 -r1.32
--- openacs-4/packages/acs-tcl/tcl/navigation-procs.tcl 27 Oct 2014 16:40:07 -0000 1.31
+++ openacs-4/packages/acs-tcl/tcl/navigation-procs.tcl 3 Jul 2015 09:53:18 -0000 1.32
@@ -40,9 +40,9 @@
set out {}
foreach element [lrange $context 0 [llength $context]-2] {
- append out "[lindex $element 1] $separator "
+ append out [subst {[ns_quotehtml [lindex $element 1]] $separator }]
}
- append out [lindex $context end]
+ append out [ns_quotehtml [lindex $context end]]
return $out
}
@@ -246,7 +246,7 @@
} {
set counter 0
foreach arg $args {
- lappend link_list "[lindex $arg 1]"
+ lappend link_list [subst {[ns_quotehtml [lindex $element 1]]}]
incr counter
}
if { $counter } {
@@ -267,9 +267,9 @@
foreach value $values {
if { $default eq $value } {
- lappend return_list "[lindex $items $count]"
+ lappend return_list "[lindex $items $count]"
} else {
- lappend return_list "[lindex $items $count]"
+ lappend return_list [subst {[ns_quotehtml [lindex $items $count]]}]
}
incr count