X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fhtml%2FElements%2FShowCustomFields;h=cf6127e89edcc0e0345a41f3f2854dd55613e92e;hb=63a268637b2d51a8766412617724b9436439deb6;hp=743c9999b334db2a705d5b24971ea009477a4508;hpb=8103c1fc1b2c27a6855feadf26f91b980a54bc52;p=freeside.git diff --git a/rt/html/Elements/ShowCustomFields b/rt/html/Elements/ShowCustomFields index 743c9999b..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: @@ -90,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;