From f4db6dc27b1bbf874823e0b2d6cb6826258563a7 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 7 Nov 2024 01:37:14 +0000 Subject: [PATCH] Bug 22223: t::lib::QA::TemplateFilters missing built-in TT filter "safe_url" causes false warnings Signed-off-by: Jonathan Druart --- t/lib/QA/TemplateFilters.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/lib/QA/TemplateFilters.pm b/t/lib/QA/TemplateFilters.pm index 113b1f9163c..86aa034df3c 100644 --- a/t/lib/QA/TemplateFilters.pm +++ b/t/lib/QA/TemplateFilters.pm @@ -161,6 +161,9 @@ sub process_tt_block { # Already has trim filter or $tt_block =~ m{\|\s?trim} + # Already has safe_url filter + or $tt_block =~ m{\|\s?safe_url} + # Specific for [% foo UNLESS bar %] or $tt_block =~ m{^(?\S+)\s+UNLESS\s+(?\S+)} ; -- 2.34.1