]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 645118: Allow "=" as pre_chomp and post_chomp modifier in templates.
authorMarc Schumann <wurblzap@gmail.com>
Sun, 27 Mar 2011 18:28:44 +0000 (20:28 +0200)
committerMarc Schumann <wurblzap@gmail.com>
Sun, 27 Mar 2011 18:28:44 +0000 (20:28 +0200)
r/a=mkanat

t/008filter.t

index c0ee3b1314b55d1c28eb65aab2a8e1c74384ca75..a2f96ae3eab2916df65cd2232e4c39c59a41fa10 100644 (file)
@@ -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);