summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Schumann <wurblzap@gmail.com>2011-03-27 20:28:44 +0200
committerMarc Schumann <wurblzap@gmail.com>2011-03-27 20:28:44 +0200
commit4b6a0edcd181006967bf436e051b153131d4d994 (patch)
tree4ef51c08db31432b17932533a61da15acda5a5a2
parentf6e585f272f8d1c1c3fbede3a5f4994c5da1e182 (diff)
downloadbugzilla-4b6a0edcd181006967bf436e051b153131d4d994.tar.gz
bugzilla-4b6a0edcd181006967bf436e051b153131d4d994.tar.xz
Bug 645118: Allow "=" as pre_chomp and post_chomp modifier in templates.
r/a=mkanat
-rw-r--r--t/008filter.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/008filter.t b/t/008filter.t
index c0ee3b131..a2f96ae3e 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);