Bugzilla – Attachment 142237 Details for
Bug 31883
Filter trim causes false warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31883: Filter trim causes false warnings
Bug-31883-Filter-trim-causes-false-warnings.patch (text/plain), 932 bytes, created by
Marcel de Rooy
on 2022-10-20 09:25:08 UTC
(
hide
)
Description:
Bug 31883: Filter trim causes false warnings
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-10-20 09:25:08 UTC
Size:
932 bytes
patch
obsolete
>From cd418355d938d70dbf99a5463a2cc6feeafd76fd Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >Date: Thu, 20 Oct 2022 13:26:17 +1300 >Subject: [PATCH] Bug 31883: Filter trim causes false warnings >Content-Type: text/plain; charset=utf-8 > >Test plan: >Run xt/find-missing-filters.t > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 5df4fd814b..cc8c07bd79 100644 >--- a/t/lib/QA/TemplateFilters.pm >+++ b/t/lib/QA/TemplateFilters.pm >@@ -157,6 +157,9 @@ sub process_tt_block { > # Already has url or uri filter > or $tt_block =~ m{\|\s?ur(l|i)} > >+ # Already has trim filter >+ or $tt_block =~ m{\|\s?trim} >+ > # Specific for [% foo UNLESS bar %] > or $tt_block =~ m{^(?<before>\S+)\s+UNLESS\s+(?<after>\S+)} > ; >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31883
:
142218
|
142235
|
142236
|
142237
|
142238