From fe495d19dfc138fc99f7c77e41a33c77521cb738 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 Signed-off-by: Katrin Fischer --- 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 113b1f9163..86aa034df3 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.39.5