Index: openacs-4/packages/xowiki/tcl/link-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/link-procs.tcl,v diff -u -N -r1.93 -r1.94 --- openacs-4/packages/xowiki/tcl/link-procs.tcl 10 Jun 2015 09:26:04 -0000 1.93 +++ openacs-4/packages/xowiki/tcl/link-procs.tcl 15 Jun 2015 19:21:06 -0000 1.94 @@ -51,7 +51,7 @@ ExternalLink instproc render {} { my instvar href label set css_atts [my mk_css_class_and_id -additional external] - return "$label " + return "$label " } # @@ -127,7 +127,7 @@ return $result } else { ns_log notice "xowiki::link: unknown target $target" - return "$label" + return "[ns_quotehtml $label]" } } @@ -137,14 +137,14 @@ } elseif {[my exists target] && ![my built_in_target]} { return [my render_target $href $label] } else { - return "$label" + return "[ns_quotehtml $label]" } } Link instproc render_not_found {href label} { if {$href eq ""} { return \[$label\] } else { - return " $label" + return " [ns_quotehtml $label]" } } Link instproc pretty_link {item_id} { @@ -238,7 +238,7 @@ # Small bootstrap modal # ::xowiki::LinkTemplate create ::xowiki::template::modal-sm -link_template { -$label + [ns_quotehtml $label] } -body_template {