Skip to content

Commit

Permalink
Item14362: escape curly braces, as required by modern perl
Browse files Browse the repository at this point in the history
  • Loading branch information
cdot committed Mar 30, 2017
1 parent 2cdf69c commit 8ca31bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/DBIQueryPlugin.pm
Expand Up @@ -315,7 +315,7 @@ sub dbiCode {

%params = Foswiki::Func::extractParameters($param_str);

unless ( $content =~ /^\s*%CODE{.*?}%(.*)%ENDCODE%\s*$/s ) {
unless ( $content =~ /^\s*%CODE\{.*?\}%(.*)%ENDCODE%\s*$/s ) {
$content = "<pre>$content</pre>";
}

Expand Down

0 comments on commit 8ca31bb

Please sign in to comment.