Commit d4bbccb5 authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 270589: Make t/008filter.t accept empty template directives; patch…

Patch for bug 270589: Make t/008filter.t accept empty template directives; patch by Marc Schumann <wurblzap@gmail.com>, r=justdave, r=myk, a=justdave.
parent c66a2075
......@@ -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}++;
......
......@@ -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' => [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment