Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Escape left brace
unescaped is deprecated in Perl 5.26, fatal in 5.30
  • Loading branch information
jlav1n committed Jul 25, 2017
1 parent 2f4212b commit 4a3c083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Vend/Table/Editor.pm
Expand Up @@ -1064,7 +1064,7 @@ EOF
}
else {
# Strip the {TAG} {/TAG} pairs if nothing there
$template =~ s#{([A-Z_]+)}(.*?){/\1}#$sub{$1} ? $2: '' #ges;
$template =~ s#\{([A-Z_]+)\}(.*?)\{/\1\}#$sub{$1} ? $2: '' #ges;
# Insert the TAG
$sub{HELP_URL} ||= 'javascript:void(0)';
$template =~ s/\$([A-Z_]+)\$/$sub{$1}/g;
Expand Down

0 comments on commit 4a3c083

Please sign in to comment.