Bug 22223: t::lib::QA::TemplateFilters missing built-in TT filter "safe_url" causes false warnings
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit fe495d19df)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
629d2a6f6c
commit
4023df1789
|
|
@ -160,6 +160,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{^(?<before>\S+)\s+UNLESS\s+(?<after>\S+)}
|
||||
;
|
||||
|
|
|
|||
Loading…
Reference in New Issue