Bugzilla – Attachment 82042 Details for
Bug 21770
t::lib::QA::TemplateFilters should allow html_entity in href
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21770: Allow html_entity for href
Bug-21770-Allow-htmlentity-for-href.patch (text/plain), 1.11 KB, created by
Tomás Cohen Arazi (tcohen)
on 2018-11-07 17:05:58 UTC
(
hide
)
Description:
Bug 21770: Allow html_entity for href
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-11-07 17:05:58 UTC
Size:
1.11 KB
patch
obsolete
>From 975d0c79aa9cfdaad1a3df271b19ef586c3aefd7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 6 Nov 2018 11:03:28 -0300 >Subject: [PATCH] Bug 21770: Allow html_entity for href > >We certainly should not expect this filter to be used much for href, but >we have one occurrence that needs it. > >Test plan: >t/template_filters.t and xt/find-missing-filters.t must return green > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/lib/QA/TemplateFilters.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/lib/QA/TemplateFilters.pm b/t/lib/QA/TemplateFilters.pm >index f2009cc929..467010e85a 100644 >--- a/t/lib/QA/TemplateFilters.pm >+++ b/t/lib/QA/TemplateFilters.pm >@@ -172,7 +172,7 @@ sub process_tt_block { > $filter ne 'html' > and ( > $tt_block !~ m{\|} >- or $tt_block =~ m{\|\s?html} >+ or ($tt_block =~ m{\|\s?html} and not $tt_block =~ m{\|\s?html_entity}) > or $tt_block !~ m{\s*|\s*(uri|url)} > ) > ) { >-- >2.19.1
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 21770
:
81980
|
81983
|
81984
|
82008
|
82009
|
82010
|
82041
| 82042