X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FMakeClicky;h=3564ee16fe9db04f98f25eb385c4983edf5dd41f;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=4d28771e2120b25eefa85966a7fc6505f0813d6b;hpb=9aee669886202be7035e6c6049fc71bc99dd3013;p=freeside.git diff --git a/rt/share/html/Elements/MakeClicky b/rt/share/html/Elements/MakeClicky index 4d28771e2..3564ee16f 100644 --- a/rt/share/html/Elements/MakeClicky +++ b/rt/share/html/Elements/MakeClicky @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -63,7 +63,7 @@ my %actions = ( my %args = @_; my $post = ""; $post = ")" if $args{value} !~ /\(/ and $args{value} =~ s/\)$//; - $args{value} = $escaper->($args{value}); + $args{value} = $escaper->($args{value}) unless $args{html}; my $result = qq{[}. loc('Open URL') .qq{]}; return $args{value} . qq{ $result$post}; }, @@ -71,7 +71,7 @@ my %actions = ( my %args = @_; my $post = ""; $post = ")" if $args{value} !~ /\(/ and $args{value} =~ s/\)$//; - $args{value} = $escaper->($args{value}); + $args{value} = $escaper->($args{value}) unless $args{html}; my $result = qq{$args{value}}; return qq{$result$post}; }, @@ -169,7 +169,7 @@ while ( $$content =~ /($regexp)/gsio ) { $pos += length($plain); } my $plain = $handle->( - %ARGS, + %ARGS, value => $match, all_matches => [ $1, $2, $3, $4, $5, $6, $7, $8, $9 ], );