X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FShowUserConcise;h=1fa970e8df9973d9b12c5ac82ba37132e0104472;hb=919e930aa9279b3c5cd12b593889cd6de79d67bf;hp=d2cac11413a9744714617ae1ccf0a123d06dded4;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/Elements/ShowUserConcise b/rt/share/html/Elements/ShowUserConcise index d2cac1141..1fa970e8d 100644 --- a/rt/share/html/Elements/ShowUserConcise +++ b/rt/share/html/Elements/ShowUserConcise @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -46,7 +46,7 @@ %# %# END BPS TAGGED BLOCK }}} %# Released under the terms of version 2 of the GNU Public License -<% $Address || $User->RealName || $User->Name %>\ +<% $display |n %>\ <%ARGS> $User => undef $Address => undef @@ -61,4 +61,7 @@ if ( !$User && $Address ) { $Address = $Address->address; } } +my $display = $Address || $User->RealName || $User->Name; + $display = $m->interp->apply_escapes( $display, 'h' ) + unless $ARGS{'NoEscape'};