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> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
f9e83266d1
commit
6932e104f3
|
|
@ -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)}
|
||||
)
|
||||
) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue