Bug 21770: Allow html_entity for href
[koha.git] / t / lib / QA / TemplateFilters.pm
index f2009cc..467010e 100644 (file)
@@ -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)}
       )
     ) {