X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Felements%2Fsvc_Common.html;h=2d1201b514a8bfe6140f2a3b287f5cf39a2d735d;hb=28de2695cb889d0dc3d1b3425582f069643edcd9;hp=de01c3d557eab85cf94c41dbc69168da83eb4c37;hpb=4658140057dc70393cf057af334b0eb810bd0e1a;p=freeside.git diff --git a/httemplate/view/elements/svc_Common.html b/httemplate/view/elements/svc_Common.html index de01c3d55..2d1201b51 100644 --- a/httemplate/view/elements/svc_Common.html +++ b/httemplate/view/elements/svc_Common.html @@ -63,11 +63,13 @@ function areyousure(href) { % if ( ref($f) ) { % $field = $f->{'field'}; % $hack_strict_refs = \&{ $f->{'value'} } if $f->{'value'}; -% $value = $f->{'value'} ? &$hack_strict_refs($svc_x) : $svc_x->$field; +% $value = $f->{'value'} +% ? &$hack_strict_refs($svc_x) +% : encode_entities($svc_x->$field); % $type = $f->{'type'} || 'text'; % } else { % $field = $f; -% $value = $svc_x->$field; +% $value = encode_entities($svc_x->$field); % $type = 'text'; % } %