From eea08a048ee1aa5c300c9a2cd98dec385b83d8b0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 21 May 2020 15:46:53 +0200 Subject: [PATCH] Bug 20783: Add missing url filters Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi Signed-off-by: Hayley Mapley (cherry picked from commit 856cb2d1b71f04de7ee457d0d001511f0dcb760a) Signed-off-by: Victor Grousset/tuxayo --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 7337634841..f71d0b45e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -699,7 +699,7 @@

[% IF HTML5MediaSet.is_youtube %] + src="[% HTML5MediaSet.srcblock | url %]" frameborder="0"> [% ELSE %] <[% HTML5MediaParent | html %] controls preload=none> <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | url %]"[% HTML5MediaSet.typeblock | html %] /> diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 71e68131b1..e166972aad 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -1018,11 +1018,11 @@

[% IF HTML5MediaSet.is_youtube %] + src="[% HTML5MediaSet.srcblock | url %]" frameborder="0"> [% ELSE %] [% SET ctrl_preload = ' controls preload=none' #translatability %] <[% HTML5MediaParent _ ctrl_preload | html %] > - <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] /> + <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | url %]" [% HTML5MediaSet.typeblock | html %] /> [[% HTML5MediaParent | html %] tag not supported by your browser.] [% END %] -- 2.39.5