Bugzilla – Attachment 82010 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]
[ALTERNATIVE-PATCH] Bug 21770: Allow html_entity for href
Bug-21770-Allow-htmlentity-for-href.patch (text/plain), 1.08 KB, created by
Kyle M Hall (khall)
on 2018-11-06 20:32:07 UTC
(
hide
)
Description:
[ALTERNATIVE-PATCH] Bug 21770: Allow html_entity for href
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-11-06 20:32:07 UTC
Size:
1.08 KB
patch
obsolete
>From ed02cbe56c6c3402675478ef50eac2ec40fcc485 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> >--- > 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 b1f444e86d..e73d45a917 100644 >--- a/t/lib/QA/TemplateFilters.pm >+++ b/t/lib/QA/TemplateFilters.pm >@@ -187,7 +187,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.17.2 (Apple Git-113)
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