X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fhtml%2FElements%2FShowCustomFields;h=cf6127e89edcc0e0345a41f3f2854dd55613e92e;hb=75162bb14b3e38d66617077843f4dfdcaf09d5c4;hp=06b5996543e1b8d0c9e87ced2b17890a63279cf6;hpb=ef20b2b6b1feb47ad02b5ff7525f1a0fd11d0fa4;p=freeside.git diff --git a/rt/html/Elements/ShowCustomFields b/rt/html/Elements/ShowCustomFields index 06b599654..cf6127e89 100644 --- a/rt/html/Elements/ShowCustomFields +++ b/rt/html/Elements/ShowCustomFields @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -24,7 +24,7 @@ %# along with this program; if not, write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at -%# http://www.gnu.org/copyleft/gpl.html. +%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: @@ -59,7 +59,9 @@ % } else { % } @@ -88,7 +90,7 @@ my $print_value = sub { if ( $m->comp_exists( $comp ) ) { $m->comp( $comp, Object => $value ); } else { - $m->print( $value->Content ); + $m->out( $m->interp->apply_escapes( $value->Content, 'h' ) ); } $m->out('') if $linked;