aboutsummaryrefslogtreecommitdiff
path: root/t
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 /t
parentBug 449067: Add an ID to more buttons (to help with Selenium scripts) (diff)
downloadbugzilla-4b6a0edcd181006967bf436e051b153131d4d994.tar.gz
bugzilla-4b6a0edcd181006967bf436e051b153131d4d994.tar.bz2
bugzilla-4b6a0edcd181006967bf436e051b153131d4d994.zip
Bug 645118: Allow "=" as pre_chomp and post_chomp modifier in templates.
r/a=mkanat
Diffstat (limited to 't')
-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);