Bug 21476: Fix HTML5 media from playing in the OPAC - incorrect filters
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-restrictedpage.tt
index fbb63a2..6a50b1b 100644 (file)
@@ -1,15 +1,16 @@
+[% USE raw %]
 [% USE Koha %]
 
 [% INCLUDE 'doc-head-open.inc' %]
 <title>
     [% IF ( LibraryNameTitle ) %]
-        [% LibraryNameTitle %]
+        [% LibraryNameTitle | html %]
     [% ELSE %]
         Koha online
     [% END %]
     catalog
     [% IF RestrictedPageTitle %]
-        &rsaquo; [% RestrictedPageTitle %]
+        &rsaquo; [% RestrictedPageTitle | html %]
     [% END %]
 </title>
 [% INCLUDE 'doc-head-close.inc' %]
@@ -22,7 +23,7 @@
     <ul class="breadcrumb">
         <li><a href="/cgi-bin/koha/opac-main.pl">Home</a></li>
         [% IF Koha.Preference('RestrictedPageTitle') %]
-            <li> <span class="divider">&rsaquo;</span> [% Koha.Preference('RestrictedPageTitle') %]</li>
+            <li> <span class="divider">&rsaquo;</span> [% Koha.Preference('RestrictedPageTitle') | html %]</li>
         [% END %]
     </ul>
 
@@ -36,9 +37,9 @@
             <div class="span10">
                 <div id="restrictedcontent" class="maincontent">
                     [% IF Koha.Preference('RestrictedPageTitle') %]
-                        <h1>[% Koha.Preference('RestrictedPageTitle') %]</h1>
+                        <h1>[% Koha.Preference('RestrictedPageTitle') | html %]</h1>
                     [% END %]
-                    [% Koha.Preference('RestrictedPageContent') %]
+                    [% Koha.Preference('RestrictedPageContent') | $raw %]
                 </div>
             </div> <!-- / .span10 -->
         </div> <!-- / .row-fluid -->