From: Marc Schumann Date: Sun, 27 Mar 2011 18:28:44 +0000 (+0200) Subject: Bug 645118: Allow "=" as pre_chomp and post_chomp modifier in templates. X-Git-Tag: bugzilla-4.1.2~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b6a0edcd181006967bf436e051b153131d4d994;p=thirdparty%2Fbugzilla.git Bug 645118: Allow "=" as pre_chomp and post_chomp modifier in templates. r/a=mkanat --- diff --git a/t/008filter.t b/t/008filter.t index c0ee3b1314..a2f96ae3ea 100644 --- a/t/008filter.t +++ b/t/008filter.t @@ -110,7 +110,7 @@ foreach my $path (@Support::Templates::include_paths) { # /g means we execute this loop for every match # /s means we ignore linefeeds in the regexp matches - while ($slurp =~ /\[%(?:-|\+|~)?(.*?)(?:-|\+|~)?%\]/gs) { + while ($slurp =~ /\[%(?:-|\+|~|=)?(.*?)(?:-|\+|~|=)?%\]/gs) { my $directive = $1; my @lineno = ($` =~ m/\n/gs);