Index: openacs-4/packages/acs-developer-support/www/search.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-developer-support/www/search.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/acs-developer-support/www/search.tcl 27 Oct 2014 16:39:34 -0000 1.4 +++ openacs-4/packages/acs-developer-support/www/search.tcl 7 Aug 2017 23:47:56 -0000 1.5 @@ -28,11 +28,17 @@ append file_links " c" append file_links " o" set size [string length $content] - set highlight "...[ad_quotehtml [string trimleft [string range $content [expr {[lindex $offset 0] - 50}] [expr {[lindex $offset 0] - 1}]]]][ad_quotehtml [string range $content [lindex $offset 0] [lindex $offset 1]]][ad_quotehtml [string trimright [string range $content [expr {[lindex $offset 1] + 1}] [expr {[lindex $offset 1] + 50}]]]]..." + set highlight "...[ns_quotehtml [string trimleft [string range $content [expr {[lindex $offset 0] - 50}] [expr {[lindex $offset 0] - 1}]]]][ns_quotehtml [string range $content [lindex $offset 0] [lindex $offset 1]]][ns_quotehtml [string trimright [string range $content [expr {[lindex $offset 1] + 1}] [expr {[lindex $offset 1] + 50}]]]]..." multirow append matches $page $highlight $file_links $size } set matched($page) 1 } } } + +# Local variables: +# mode: tcl +# tcl-indent-level: 4 +# indent-tabs-mode: nil +# End: