[Rt-commit] r2707 - in rt/branches/PLATANO-EXPERIMENTAL-CSS: .
html/Search/Elements
jesse at bestpractical.com
jesse at bestpractical.com
Sat Apr 16 04:17:00 EDT 2005
Author: jesse
Date: Sat Apr 16 04:17:00 2005
New Revision: 2707
Modified:
rt/branches/PLATANO-EXPERIMENTAL-CSS/ (props changed)
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/BuildFormatString
Log:
r13096 at hualien: jesse | 2005-04-16 03:10:48 -0400
r12995 at hualien: jesse | 2005-04-16 02:25:59 -0400
r11323 at hualien: jesse | 2005-04-01 04:52:16 -0500
r9577 at hualien (orig r2498): clkao | 2005-03-23 17:03:02 +0800
Don't html-escape loc() when building FormatString.
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/BuildFormatString
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/BuildFormatString (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/BuildFormatString Sat Apr 16 04:17:00 2005
@@ -228,7 +228,8 @@
foreach my $field (@seen) {
next unless $field;
my $row = "'" . $field->{Prefix};
- $row .= "__" . $m->interp->apply_escapes( $field->{Column}, 'h' ) . "__"
+ $row .= "__" . ($field->{Column} =~ m/\(/ ? $field->{Column} # func, don't escape
+ : $m->interp->apply_escapes( $field->{Column}, 'h' )) . "__"
unless ( $field->{Column} eq "<blank>" );
$row .= $field->{Suffix} . "'";
push( @format_string, $row );
More information about the Rt-commit
mailing list