Bug 25804: Remove HTML from title tag of bibliographic detail page
authorOwen Leonard <oleonard@myacpl.org>
Thu, 18 Jun 2020 11:56:38 +0000 (11:56 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Jun 2020 12:31:36 +0000 (14:31 +0200)
This patch removes <span> tags from the bibliographic detail page's
<title> tag.

To test, apply the patch and view the bibliographic detail page for
any title in the staff interface. In the page title shown in the browser
tab you should see no <span> tags.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt

index d58edcf..dc57f35 100644 (file)
@@ -33,9 +33,9 @@
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Catalog &rsaquo;
   [% IF ( unknownbiblionumber ) %]
-    <span class="unknownrecord">Unknown record</span>
+    Unknown record
   [% ELSE %]
-    <span class="titledetails">Details for [% INCLUDE 'biblio-title-head.inc' %]</span>
+    Details for [% INCLUDE 'biblio-title-head.inc' %]
   [% END %]
 </title>
 [% INCLUDE 'doc-head-close.inc' %]