summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/008filter.t3
-rw-r--r--template/en/default/filterexceptions.pl2
2 files changed, 3 insertions, 2 deletions
diff --git a/t/008filter.t b/t/008filter.t
index 531edf28e..bc8c6aa15 100644
--- a/t/008filter.t
+++ b/t/008filter.t
@@ -158,6 +158,9 @@ sub directive_ok {
$directive =~ s/^[+-]?\s*//;
$directive =~ s/\s*[+-]?$//;
+ # Empty directives are ok; they are usually line break helpers
+ return 1 if $directive eq '';
+
# Exclude those on the nofilter list
if (defined($safe{$file}{$directive})) {
$safe{$file}{$directive}++;
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index f0267a606..d7b365ffc 100644
--- a/template/en/default/filterexceptions.pl
+++ b/template/en/default/filterexceptions.pl
@@ -136,8 +136,6 @@
'num_bugs',
'data.$tbl.$col.$row',
'title',
- '', # This is not a bug in the filter exceptions - this template has an
- # empty directive which is necessary for it to work properly.
],
'reports/report-table.html.tmpl' => [